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
GMapping::RangeReading::setPose
void setPose(const OrientedPoint &pose)
Definition: rangereading.h:23
rangesensor.h
GMapping::RangeReading::m_pose
OrientedPoint m_pose
Definition: rangereading.h:28
GMapping
Definition: configfile.cpp:34
GMapping::RangeSensor
Definition: rangesensor.h:11
GMapping::SensorReading
Definition: sensoreading.h:9
GMapping::RangeReading
Definition: rangereading.h:17
sensorreading.h
GMapping::RangeReading::getPose
const OrientedPoint & getPose() const
Definition: rangereading.h:22
GMapping::orientedpoint< double, double >


openslam_gmapping
Author(s): Cyrill Stachniss, Udo Frese, Giorgio Grisetti, Wolfram Burgard
autogenerated on Thu Oct 19 2023 02:25:51