mars
LaserRangeFinder.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef SIMULATION_MARSLASERRANGEFINDER_TASK_HPP
4 #define SIMULATION_MARSLASERRANGEFINDER_TASK_HPP
5 
6 #include "mars/LaserRangeFinderBase.hpp"
7 
8 namespace mars{
9  namespace sim{
10  class RaySensor;
11  };
12 };
13 
14 namespace mars {
15 
30  class LaserRangeFinder : public LaserRangeFinderBase
31  {
32  friend class LaserRangeFinderBase;
33  protected:
34  base::samples::LaserScan scan;
35  mars::sim::RaySensor* sensor;
36 
37  void update( double time );
38  public:
43  LaserRangeFinder(std::string const& name = "mars::LaserRangeFinder");
44 
50  LaserRangeFinder(std::string const& name, RTT::ExecutionEngine* engine);
51 
55 
70  // bool configureHook();
71 
77  bool startHook();
78 
93  // void updateHook();
94 
101  // void errorHook();
102 
106  void stopHook();
107 
112  // void cleanupHook();
113  };
114 }
115 
116 #endif
117 
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: LaserRangeFinder.hpp:30
base::samples::LaserScan scan
Definition: LaserRangeFinder.hpp:34
Definition: jointTypes.hpp:9
mars::sim::RaySensor * sensor
Definition: LaserRangeFinder.hpp:35