auv_control
PIDController.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef AUV_CONTROL_PIDCONTROLLER_TASK_HPP
4 #define AUV_CONTROL_PIDCONTROLLER_TASK_HPP
5 
6 #include "auv_control/PIDControllerBase.hpp"
7 #include <base/Timeout.hpp>
8 
9 namespace auv_control {
10 
26  class PIDController : public PIDControllerBase
27  {
28  friend class PIDControllerBase;
29  protected:
30  bool on_init;
31  bool isPoseSampleValid();
32 
33  base::Timeout new_pose_samples_timeout;
34 
35 
36  public:
40  PIDController(std::string const& name = "auv_control::PIDController");
41 
47  PIDController(std::string const& name, RTT::ExecutionEngine* engine);
48 
52 
67  bool configureHook();
68 
74  bool startHook();
75 
90  void updateHook();
91 
98  void errorHook();
99 
103  void stopHook();
104 
109  void cleanupHook();
110  };
111 }
112 
113 #endif
114 
bool configureHook()
The following lines are template definitions for the various state machine.
Definition: PIDController.cpp:31
bool startHook()
Definition: PIDController.cpp:40
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: PIDController.hpp:26
Definition: 6dControl.hpp:12
void cleanupHook()
Definition: PIDController.cpp:126
friend class PIDControllerBase
Definition: PIDController.hpp:28
base::Timeout new_pose_samples_timeout
Definition: PIDController.hpp:33
bool isPoseSampleValid()
Definition: PIDController.cpp:131
PIDController(std::string const &name="auv_control::PIDController")
Definition: PIDController.cpp:7
void stopHook()
Definition: PIDController.cpp:122
bool on_init
Definition: PIDController.hpp:30
void updateHook()
Definition: PIDController.cpp:49
void errorHook()
Definition: PIDController.cpp:118
~PIDController()
Definition: PIDController.cpp:21