17 #ifndef _RAYSENSOR_HH_
18 #define _RAYSENSOR_HH_
31 class OgreDynamicLines;
57 public:
virtual void Load(
const std::string &_worldName);
60 public:
virtual void Init();
63 protected:
virtual bool UpdateImpl(
bool _force);
66 protected:
virtual void Fini();
69 public:
virtual std::string GetTopic()
const;
81 public:
double GetAngleResolution()
const;
85 public:
double GetRangeMin()
const;
89 public:
double GetRangeMax()
const;
93 public:
double GetRangeResolution()
const;
97 public:
int GetRayCount()
const;
101 public:
int GetRangeCount()
const;
105 public:
int GetVerticalRayCount()
const;
109 public:
int GetVerticalRangeCount()
const;
121 public:
double GetVerticalAngleResolution()
const;
132 public:
double GetRange(
unsigned int _index);
136 public:
void GetRanges(std::vector<double> &_ranges);
147 public:
double GetRetro(
unsigned int _index);
158 public:
int GetFiducial(
unsigned int _index);
163 {
return this->laserShape;}
166 public:
virtual bool IsActive();
173 private: boost::mutex mutex;
174 private: msgs::LaserScanStamped laserMsg;