47 #ifndef _MIRA_POSITIONTASK_H_ 48 #define _MIRA_POSITIONTASK_H_ 54 namespace mira {
namespace navigation {
72 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
90 const std::string& f =
"/GlobalFrame") :
105 const std::string& f =
"/GlobalFrame") :
113 template<
typename Reflector>
118 "The request position.");
120 "The minimum tolerance/lower limit for path planner hysteresis.");
122 "The maximum tolerance/upper limit for path planner hysteresis.");
124 "The frame the position is related to.",
"/GlobalFrame");
PositionTask(const Point2f &pos, float minT, float maxT, const std::string &f="/GlobalFrame")
Creates a task with given position and tolerances.
Definition: PositionTask.h:104
EIGEN_MAKE_ALIGNED_OPERATOR_NEW PositionTask()
Creates a task with both tolerances 0.
Definition: PositionTask.h:75
Point2f position
The request position.
Definition: PositionTask.h:136
float maxTolerance
The maximum tolerance/upper limit for path planner hysteresis.
Definition: PositionTask.h:142
PositionTask(const Point2f &pos, float maxT, const std::string &f="/GlobalFrame")
Creates a task with given position and one tolerance that is used for both min and max tolerance...
Definition: PositionTask.h:89
#define MIRA_REFLECT_BASE(reflector, BaseClass)
bool reached(const Point2f &pos) const
Calculates if the task is reached for the current position pos.
Definition: PositionTask.h:128
Task for driving to a given position providing two limits for a hysteresis that can be applied when c...
Definition: PositionTask.h:67
std::string frameID
The frame the position is related to.
Definition: PositionTask.h:145
void reflect(Reflector &r)
The reflect method.
Definition: PositionTask.h:114
Interface for sub tasks to be added to a navigation task.
Definition: Task.h:63
Base classes and interfaces for navigation tasks.
float minTolerance
The minimum tolerance/lower limit for path planner hysteresis.
Definition: PositionTask.h:139