rangereading.h
Go to the documentation of this file.
1 #ifndef RANGEREADING_H
2 #define RANGEREADING_H
3 
4 #include <vector>
7 
8 namespace GMapping{
9 
10 class RangeReading: public SensorReading, public std::vector<double>{
11  public:
12  RangeReading(const RangeSensor* rs, double time=0);
13  RangeReading(unsigned int n_beams, const double* d, const RangeSensor* rs, double time=0);
14  virtual ~RangeReading();
15  inline const OrientedPoint& getPose() const {return m_pose;}
16  inline void setPose(const OrientedPoint& pose) {m_pose=pose;}
17  unsigned int rawView(double* v, double density=0.) const;
18  std::vector<Point> cartesianForm(double maxRange=1e6) const;
19  unsigned int activeBeams(double density=0.) const;
20  protected:
22 };
23 
24 };
25 
26 #endif
std::vector< Point > cartesianForm(double maxRange=1e6) const
unsigned int activeBeams(double density=0.) const
RangeReading(const RangeSensor *rs, double time=0)
const OrientedPoint & getPose() const
Definition: rangereading.h:15
OrientedPoint m_pose
Definition: rangereading.h:21
unsigned int rawView(double *v, double density=0.) const
void setPose(const OrientedPoint &pose)
Definition: rangereading.h:16


openslam_gmapping
Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard
autogenerated on Mon Jun 10 2019 14:04:22