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 
GMapping::OdometryReading::setPose
void setPose(const OrientedPoint &pose)
Definition: odometryreading.h:18
point.h
GMapping
Definition: configfile.cpp:34
GMapping::OdometryReading::getPose
const OrientedPoint & getPose() const
Definition: odometryreading.h:15
GMapping::OdometryReading::m_acceleration
OrientedPoint m_acceleration
Definition: odometryreading.h:25
GMapping::OdometryReading
Definition: odometryreading.h:12
GMapping::OdometryReading::setAcceleration
void setAcceleration(const OrientedPoint &acceleration)
Definition: odometryreading.h:20
GMapping::SensorReading
Definition: sensoreading.h:9
odometrysensor.h
sensorreading.h
GMapping::orientedpoint< double, double >
GMapping::OdometryReading::getSpeed
const OrientedPoint & getSpeed() const
Definition: odometryreading.h:16
GMapping::OdometryReading::m_pose
OrientedPoint m_pose
Definition: odometryreading.h:23
GMapping::OdometryReading::getAcceleration
const OrientedPoint & getAcceleration() const
Definition: odometryreading.h:17
GMapping::OdometrySensor
Definition: odometrysensor.h:10
GMapping::OdometryReading::m_speed
OrientedPoint m_speed
Definition: odometryreading.h:24
GMapping::OdometryReading::setSpeed
void setSpeed(const OrientedPoint &speed)
Definition: odometryreading.h:19


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