odometryreading.h
Go to the documentation of this file.
1 #ifndef ODOMETRYREADING_H
2 #define ODOMETRYREADING_H
3 
4 #include <string.h>
6 #include <gmapping/utils/point.h>
8 #include <gmapping/sensor/sensor_odometry/sensor_odometry_export.h>
9 
10 namespace GMapping{
11 
12 class SENSOR_ODOMETRY_EXPORT OdometryReading: public SensorReading{
13  public:
14  OdometryReading(const OdometrySensor* odo, double time=0);
15  inline const OrientedPoint& getPose() const {return m_pose;}
16  inline const OrientedPoint& getSpeed() const {return m_speed;}
17  inline const OrientedPoint& getAcceleration() const {return m_acceleration;}
18  inline void setPose(const OrientedPoint& pose) {m_pose=pose;}
19  inline void setSpeed(const OrientedPoint& speed) {m_speed=speed;}
20  inline void setAcceleration(const OrientedPoint& acceleration) {m_acceleration=acceleration;}
21 
22  protected:
26 };
27 
28 };
29 #endif
30 
const OrientedPoint & getSpeed() const
const OrientedPoint & getAcceleration() const
void setAcceleration(const OrientedPoint &acceleration)
void setSpeed(const OrientedPoint &speed)
void setPose(const OrientedPoint &pose)
const OrientedPoint & getPose() const


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