17 #ifndef GAZEBO_RENDERING_GPULASERDATAITERATOR_HH_ 18 #define GAZEBO_RENDERING_GPULASERDATAITERATOR_HH_ 76 public:
const std::unique_ptr<const GpuLaserData> operator->()
const;
98 const float *_data,
const unsigned int _skip,
99 const unsigned int _rangeOffset,
100 const unsigned int _intensityOffset,
101 const unsigned int _horizontalResolution);
107 private:
unsigned int index = 0;
110 private:
const float *data =
nullptr;
113 private:
const unsigned int skip = 0;
116 private:
const unsigned int rangeOffset = 0;
119 private:
const unsigned int intensityOffset = 0;
122 private:
const unsigned int horizontalResolution = 0;
Forward declarations for the common classes.
Definition: Animation.hh:26
unsigned int reading
the index of areading in a plane or cone[0, hRes)
Definition: GpuLaserDataIterator.hh:43
double range
The distance of the reading in meters.
Definition: GpuLaserDataIterator.hh:31
struct containing info about a single ray measurement
Definition: GpuLaserDataIterator.hh:27
double intensity
The intensity reading.
Definition: GpuLaserDataIterator.hh:35
const Bidirectional iterator for laser data
Definition: GpuLaserDataIterator.hh:53
friend F
Definition: GpuLaserDataIterator.hh:55
unsigned int beam
Which plane or cone this reading belongs to [0, vRes)
Definition: GpuLaserDataIterator.hh:39