auv_control
AlignedToBody.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef AUV_CONTROL_ALIGNEDTOBODY_TASK_HPP
4 #define AUV_CONTROL_ALIGNEDTOBODY_TASK_HPP
5 
6 #include "auv_control/AlignedToBodyBase.hpp"
7 #include <base/Timeout.hpp>
8 
9 namespace auv_control {
10 
26  class AlignedToBody : public AlignedToBodyBase
27  {
28  friend class AlignedToBodyBase;
29  protected:
30  base::samples::RigidBodyState orientation_sample;
32  bool on_init;
33  bool calcOutput(const LinearAngular6DCommandStatus &merged_command);
34 
35  public:
39  AlignedToBody(std::string const& name = "auv_control::AlignedToBody");
40 
46  AlignedToBody(std::string const& name, RTT::ExecutionEngine* engine);
47 
51 
66  bool configureHook();
67 
73  bool startHook();
74 
89  void updateHook();
90 
97  void errorHook();
98 
102  void stopHook();
103 
108  void cleanupHook();
109  };
110 }
111 
112 #endif
113 
void errorHook()
Definition: AlignedToBody.cpp:99
void cleanupHook()
Definition: AlignedToBody.cpp:108
base::Timeout new_orientation_samples_timeout
Definition: AlignedToBody.hpp:31
bool configureHook()
The following lines are template definitions for the various state machine.
Definition: AlignedToBody.cpp:29
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: AlignedToBody.hpp:26
bool on_init
Definition: AlignedToBody.hpp:32
Definition: 6dControl.hpp:12
AlignedToBody(std::string const &name="auv_control::AlignedToBody")
Definition: AlignedToBody.cpp:7
void updateHook()
Definition: AlignedToBody.cpp:69
bool calcOutput(const LinearAngular6DCommandStatus &merged_command)
Definition: AlignedToBody.cpp:50
~AlignedToBody()
Definition: AlignedToBody.cpp:19
friend class AlignedToBodyBase
Definition: AlignedToBody.hpp:28
void stopHook()
Definition: AlignedToBody.cpp:104
base::samples::RigidBodyState orientation_sample
Definition: AlignedToBody.hpp:30
bool startHook()
Definition: AlignedToBody.cpp:38