auv_control
ThrustersFeedback.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef AUV_CONTROL_THRUSTERSFEEDBACK_TASK_HPP
4 #define AUV_CONTROL_THRUSTERSFEEDBACK_TASK_HPP
5 
6 #include "auv_control/ThrustersFeedbackBase.hpp"
7 
8 namespace auv_control{
9 
24  class ThrustersFeedback : public ThrustersFeedbackBase
25  {
26  friend class ThrustersFeedbackBase;
27  protected:
28 
29  base::samples::Joints calcOutput(base::samples::Joints const &thruster_rotations) const;
30 
31  public:
36  ThrustersFeedback(std::string const& name = "auv_control::ThrustersFeedback");
37 
43  ThrustersFeedback(std::string const& name, RTT::ExecutionEngine* engine);
44 
48 
63  bool configureHook();
64 
70  bool startHook();
71 
86  void updateHook();
87 
94  void errorHook();
95 
99  void stopHook();
100 
105  void cleanupHook();
106  };
107 }
108 
109 #endif
110 
base::samples::Joints calcOutput(base::samples::Joints const &thruster_rotations) const
Definition: ThrustersFeedback.cpp:65
friend class ThrustersFeedbackBase
Definition: ThrustersFeedback.hpp:26
void cleanupHook()
Definition: ThrustersFeedback.cpp:60
Definition: 6dControl.hpp:12
void errorHook()
Definition: ThrustersFeedback.cpp:52
void updateHook()
Definition: ThrustersFeedback.cpp:40
bool configureHook()
The following lines are template definitions for the various state machine.
Definition: ThrustersFeedback.cpp:28
ThrustersFeedback(std::string const &name="auv_control::ThrustersFeedback")
Definition: ThrustersFeedback.cpp:8
~ThrustersFeedback()
Definition: ThrustersFeedback.cpp:18
void stopHook()
Definition: ThrustersFeedback.cpp:56
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: ThrustersFeedback.hpp:24
bool startHook()
Definition: ThrustersFeedback.cpp:34