odometryreading.h

来自「Particle filtering implementation and ap」· C头文件 代码 · 共 30 行

H
30
字号
#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 + =
减小字号Ctrl + -
显示快捷键?