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


openslam_gmapping
Author(s): Cyrill Stachniss, Udo Frese, Giorgio Grisetti, Wolfram Burgard
autogenerated on Mon Feb 28 2022 22:59:20