23 #include "interfaces/Position3DInterface.h"
25 #include <config/config.h>
26 #include <execution_time_estimator/aspect/execution_time_estimator.h>
27 #include <navgraph/navgraph.h>
38 const std::string &cfg_prefix);
41 std::pair<SkillerInterface::SkillStatusEnum, std::string>
execute(
const Skill &skill)
override;
Interface for configuration handling.
A configurable property that is skill-specific and may have a default value.
A structured representation of a skill.
An abstract estimator for the execution time of a skill.
LockPtr<> is a reference-counting shared lockable smartpointer.
Estimate the execution time for the skill goto by querying the distance from the navgraph.
bool can_provide_exec_time(const Skill &skill) const override
Check if this estimator can give an estimate for a given skill.
float get_execution_time(const Skill &skill) override
Get the estimated execution time for the given skill string.
std::pair< SkillerInterface::SkillStatusEnum, std::string > execute(const Skill &skill) override
Let the estimator know that we are executing this skill, so it can apply possible side effects.
NavGraphEstimator(LockPtr< NavGraph > navgraph, Configuration *config, const std::string &cfg_prefix)
Constructor.
Fawkes library namespace.