📄 odometryreading.h
字号:
#ifndef ODOMETRYREADING_H#define ODOMETRYREADING_H#include <string.h>#include <sensor/sensor_base/sensorreading.h>#include <utils/point.h>#include "odometrysensor.h"namespace GMapping{class OdometryReading: public SensorReading{ public: OdometryReading(const OdometrySensor* odo, double time=0); inline const OrientedPoint& getPose() const {return m_pose;} inline const OrientedPoint& getSpeed() const {return m_speed;} inline const OrientedPoint& getAcceleration() const {return m_acceleration;} inline void setPose(const OrientedPoint& pose) {m_pose=pose;} inline void setSpeed(const OrientedPoint& speed) {m_speed=speed;} inline void setAcceleration(const OrientedPoint& acceleration) {m_acceleration=acceleration;} protected: OrientedPoint m_pose; OrientedPoint m_speed; OrientedPoint m_acceleration;};};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -