22 #ifndef _GPURAYSENSOR_HH_
23 #define _GPURAYSENSOR_HH_
27 #include <boost/thread/mutex.hpp>
60 public:
virtual void Load(
const std::string &_worldName,
65 public:
virtual void Load(
const std::string &_worldName);
68 public:
virtual void Init();
72 protected:
virtual void UpdateImpl(
bool _force);
75 protected:
virtual void Fini();
80 {
return this->laserCam;}
159 public:
double GetRange(
int _index);
163 public:
void GetRanges(std::vector<double> &_ranges)
const;
174 public:
double GetRetro(
int _index)
const;
221 public:
double GetHFOV() const GAZEBO_DEPRECATED;
228 public:
double GetCHFOV() const GAZEBO_DEPRECATED;
236 public:
double GetVFOV() const GAZEBO_DEPRECATED;
243 public:
double GetCVFOV() const GAZEBO_DEPRECATED;
251 public:
double GetHAngle() const GAZEBO_DEPRECATED;
259 public:
double GetVAngle() const GAZEBO_DEPRECATED;
268 boost::function<
void(const
float *,
unsigned int,
unsigned int,
269 unsigned int, const std::
string &)> _subscriber);
345 private: boost::mutex mutex;
348 private: msgs::LaserScan laserMsg;