47 #ifndef _MIRA_INAVIGATION_H_ 48 #define _MIRA_INAVIGATION_H_ 54 namespace mira {
namespace navigation {
75 template<
typename Reflector>
78 r.interface(
"INavigation");
81 "transT",
"translation tolerance [m]", 0.1f,
82 "rotT",
"rotation tolerance [rad]",
deg2rad(10.f));
84 static TaskPtr task = createSampleTask();
87 "Set a new task. NULL resets task and stops navigation.",
88 "task",
"the task", task);
90 "Repeat the last task (if any)");
104 virtual void setGoal(
const Pose2& goal,
float transT,
float rotT) = 0;
INTERNAL std::enable_if< std::is_floating_point< T >::value, T >::type deg2rad(T value)
boost::shared_ptr< Task > TaskPtr
pointer to task
Definition: Task.h:168
virtual void setGoal(const Pose2 &goal, float transT, float rotT)=0
Set a goal with given tolerances.
Interface for navigation services.
Definition: INavigation.h:71
virtual void setTask(TaskPtr task)=0
Set a task.
void reflect(Reflector &r)
The reflect method.
Definition: INavigation.h:76
virtual void repeatTask()=0
Repeat the last task (if any).
Point< float, 2 > Point2f
Base classes and interfaces for navigation tasks.
Positioning task with a given position and a variance.
virtual ~INavigation()
The destructor.
Definition: INavigation.h:94
boost::shared_ptr< SubTask > SubTaskPtr
A subtask pointer.
Definition: Task.h:79