auv_control
ThrustersInput.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef AUV_CONTROL_THRUSTERSINPUT_TASK_HPP
4 #define AUV_CONTROL_THRUSTERSINPUT_TASK_HPP
5 
6 #include "auv_control/ThrustersInputBase.hpp"
7 
8 namespace auv_control {
9 
26  class ThrustersInput : public ThrustersInputBase
27  {
28  friend class ThrustersInputBase;
29  protected:
30 
31  base::samples::Joints calcOutput(base::samples::Joints const &thruster_forces) const;
32 
33  public:
38  ThrustersInput(std::string const& name = "auv_control::ThrustersInput");
39 
45  ThrustersInput(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 
friend class ThrustersInputBase
Definition: ThrustersInput.hpp:28
void updateHook()
Definition: ThrustersInput.cpp:41
Definition: 6dControl.hpp:12
void errorHook()
Definition: ThrustersInput.cpp:55
bool startHook()
Definition: ThrustersInput.cpp:35
bool configureHook()
The following lines are template definitions for the various state machine.
Definition: ThrustersInput.cpp:28
void stopHook()
Definition: ThrustersInput.cpp:59
void cleanupHook()
Definition: ThrustersInput.cpp:63
ThrustersInput(std::string const &name="auv_control::ThrustersInput")
Definition: ThrustersInput.cpp:8
~ThrustersInput()
Definition: ThrustersInput.cpp:18
base::samples::Joints calcOutput(base::samples::Joints const &thruster_forces) const
Definition: ThrustersInput.cpp:68
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: ThrustersInput.hpp:26