mars
RotatingLaserRangeFinder.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef SIMULATION_MARSROTATINGLASERRANGEFINDER_TASK_HPP
4 #define SIMULATION_MARSROTATINGLASERRANGEFINDER_TASK_HPP
5 
6 #include "mars/RotatingLaserRangeFinderBase.hpp"
7 
8 namespace mars{
9  namespace sim{
10  class RotatingRaySensor;
11  };
12 };
13 
14 namespace mars {
15 
19  class RotatingLaserRangeFinder : public RotatingLaserRangeFinderBase
20  {
21  friend class RotatingLaserRangeFinderBase;
22  protected:
23  int mSensorID;
24  mars::sim::RotatingRaySensor* mSensor;
25 
26  public:
31  RotatingLaserRangeFinder(std::string const& name = "mars::RotatingLaserRangeFinder");
32 
38  RotatingLaserRangeFinder(std::string const& name, RTT::ExecutionEngine* engine);
39 
43 
58  bool configureHook();
59 
65  bool startHook();
66 
81  void updateHook();
82 
89  void errorHook();
90 
94  void stopHook();
95 
100  void cleanupHook();
101 
105  void update(double delta_t);
106  };
107 }
108 
109 #endif
110 
Rock module to receive Mars RotatingRaySensor data.
Definition: RotatingLaserRangeFinder.hpp:19
mars::sim::RotatingRaySensor * mSensor
Definition: RotatingLaserRangeFinder.hpp:24
int mSensorID
Definition: RotatingLaserRangeFinder.hpp:23
Definition: jointTypes.hpp:9