mars
Altimeter.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef SIMULATION_MARSALTIMETER_TASK_HPP
4 #define SIMULATION_MARSALTIMETER_TASK_HPP
5 
6 #include "mars/AltimeterBase.hpp"
7 namespace mars{
8  namespace sim{
9  class RaySensor;
10  }
11 
12 }
13 
14 namespace mars {
15 
30  class Altimeter : public AltimeterBase
31  {
32  friend class AltimeterBase;
33  protected:
34  unsigned long node_id;
35  sim::RaySensor* sonar;
36  base::samples::RigidBodyState gdist;
37 
38 
39  public:
44  Altimeter(std::string const& name = "mars::Altimeter");
45 
51  Altimeter(std::string const& name, RTT::ExecutionEngine* engine);
52 
55  ~Altimeter();
56 
71  bool configureHook();
72 
78  bool startHook();
79 
94  void updateHook();
95 
102  void errorHook();
103 
107  void stopHook();
108 
113  void cleanupHook();
114  };
115 }
116 
117 #endif
118 
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: Altimeter.hpp:30
sim::RaySensor * sonar
Definition: Altimeter.hpp:35
Definition: jointTypes.hpp:9
unsigned long node_id
Definition: Altimeter.hpp:34
base::samples::RigidBodyState gdist
Definition: Altimeter.hpp:36