auv_control
WaypointNavigator.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef AUV_CONTROL_WAYPOINTNAVIGATOR_TASK_HPP
4 #define AUV_CONTROL_WAYPOINTNAVIGATOR_TASK_HPP
5 
6 #include "auv_control/WaypointNavigatorBase.hpp"
7 
8 namespace auv_control {
9 
24  class WaypointNavigator : public WaypointNavigatorBase
25  {
26  friend class WaypointNavigatorBase;
27  protected:
28  std::list<base::LinearAngular6DWaypoint> waypoints;
29  base::samples::RigidBodyState last_pose;
30 
33  base::Time start_keeping;
34 
35  public:
39  WaypointNavigator(std::string const& name = "auv_control::WaypointNavigator");
40 
45  WaypointNavigator(std::string const& name, RTT::ExecutionEngine* engine);
46 
50 
65 // bool configureHook();
66 
72  // bool startHook();
73 
88  void updateHook();
89 
96  void errorHook();
97 
101  void stopHook();
102 
107  void cleanupHook();
108  };
109 }
110 
111 #endif
112 
Definition: 6dControl.hpp:41
void cleanupHook()
Definition: WaypointNavigator.cpp:126
base::LinearAngular6DWaypoint wp
Definition: WaypointNavigator.hpp:31
Definition: 6dControl.hpp:12
base::Time start_keeping
Definition: WaypointNavigator.hpp:33
void stopHook()
Definition: WaypointNavigator.cpp:113
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: WaypointNavigator.hpp:24
base::samples::RigidBodyState last_pose
Definition: WaypointNavigator.hpp:29
bool keep_position
Definition: WaypointNavigator.hpp:32
friend class WaypointNavigatorBase
Definition: WaypointNavigator.hpp:26
void updateHook()
The following lines are template definitions for the various state machine.
Definition: WaypointNavigator.cpp:27
~WaypointNavigator()
Definition: WaypointNavigator.cpp:17
WaypointNavigator(std::string const &name="auv_control::WaypointNavigator")
Definition: WaypointNavigator.cpp:7
void errorHook()
Definition: WaypointNavigator.cpp:100
std::list< base::LinearAngular6DWaypoint > waypoints
Definition: WaypointNavigator.hpp:28