47 #ifndef _MIRA_PREFERREDDIRECTIONTASK_H_ 48 #define _MIRA_PREFERREDDIRECTIONTASK_H_ 52 namespace mira {
namespace navigation {
81 float iWrongDirectionCost = 1.0f) :
86 template<
typename Reflector>
90 r.property(
"Direction",
direction,
"The preferred direction.");
92 "Costs for driving into not-preferred direction.");
Sub task that has the purpose of limiting the direction the robot drives.
Definition: PreferredDirectionTask.h:59
Definition: PreferredDirectionTask.h:68
#define MIRA_REFLECT_BASE(reflector, BaseClass)
PreferredDirectionTask(Direction iDirection=FORWARD, float iWrongDirectionCost=1.0f)
Creates a direction task with a given allowed direction and a cost for not driving in that direction...
Definition: PreferredDirectionTask.h:80
Direction
There are three possible directions that can be allowed.
Definition: PreferredDirectionTask.h:65
Definition: PreferredDirectionTask.h:67
float wrongDirectionCost
Costs for driving into not-preferred direction.
Definition: PreferredDirectionTask.h:101
Definition: PreferredDirectionTask.h:69
Direction direction
The preferred direction.
Definition: PreferredDirectionTask.h:98
Interface for sub tasks to be added to a navigation task.
Definition: Task.h:63
Base classes and interfaces for navigation tasks.
void reflect(Reflector &r)
The reflect method.
Definition: PreferredDirectionTask.h:87