27 #ifndef G2O_ODOMETRY_MEASUREMENT_H 28 #define G2O_ODOMETRY_MEASUREMENT_H 45 double vl()
const {
return _measurement(0);}
46 void setVl(
double v) { _measurement(0) = v;}
48 double vr()
const {
return _measurement(1);}
49 void setVr(
double v) { _measurement(1) = v;}
51 double dt()
const {
return _dt;}
52 void setDt(
double t) { _dt = t;}
72 double x()
const {
return _measurement(0);}
73 void setX(
double v) { _measurement(0) = v;}
75 double y()
const {
return _measurement(1);}
76 void setY(
double v) { _measurement(1) = v;}
78 double theta()
const {
return _measurement(2);}
79 void setTheta(
double v) { _measurement(2) = v;}
81 double dt()
const {
return _dt;}
82 void setDt(
double t) { _dt = t;}
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Eigen::Matrix< double, 2, 1, Eigen::ColMajor > Vector2D
const Vector3D & measurement() const
Eigen::Matrix< double, 3, 1, Eigen::ColMajor > Vector3D
#define G2O_TYPES_SCLAM2D_API
velocity measurement of a differential robot
A 2D odometry measurement expressed as a transformation.
convert between the different types of odometry measurements
const Vector2D & measurement() const
EIGEN_MAKE_ALIGNED_OPERATOR_NEW