auv_control
ConstantCommandGroundFollower.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef AUV_CONTROL_CONSTANTCOMMANDGROUNDFOLLOWER_TASK_HPP
4 #define AUV_CONTROL_CONSTANTCOMMANDGROUNDFOLLOWER_TASK_HPP
5 
6 #include "auv_control/ConstantCommandGroundFollowerBase.hpp"
7 
8 namespace auv_control {
9 
24  class ConstantCommandGroundFollower : public ConstantCommandGroundFollowerBase
25  {
27  protected:
28  base::samples::RigidBodyState depth;
29  base::samples::RigidBodyState altimeter;
31 
32 
33  public:
38  ConstantCommandGroundFollower(std::string const& name = "auv_control::ConstantCommandGroundFollower", TaskCore::TaskState initial_state = Stopped);
39 
45  ConstantCommandGroundFollower(std::string const& name, RTT::ExecutionEngine* engine, TaskCore::TaskState initial_state = Stopped);
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 
bool configureHook()
The following lines are template definitions for the various state machine.
Definition: ConstantCommandGroundFollower.cpp:29
void updateHook()
Definition: ConstantCommandGroundFollower.cpp:41
~ConstantCommandGroundFollower()
Definition: ConstantCommandGroundFollower.cpp:19
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: ConstantCommandGroundFollower.hpp:24
Definition: 6dControl.hpp:12
base::samples::RigidBodyState depth
Definition: ConstantCommandGroundFollower.hpp:28
double last_valid_ground_position
Definition: ConstantCommandGroundFollower.hpp:30
void cleanupHook()
Definition: ConstantCommandGroundFollower.cpp:84
friend class ConstantCommandGroundFollowerBase
Definition: ConstantCommandGroundFollower.hpp:26
void errorHook()
Definition: ConstantCommandGroundFollower.cpp:76
ConstantCommandGroundFollower(std::string const &name="auv_control::ConstantCommandGroundFollower", TaskCore::TaskState initial_state=Stopped)
Definition: ConstantCommandGroundFollower.cpp:7
void stopHook()
Definition: ConstantCommandGroundFollower.cpp:80
base::samples::RigidBodyState altimeter
Definition: ConstantCommandGroundFollower.hpp:29
bool startHook()
Definition: ConstantCommandGroundFollower.cpp:35