27 #ifndef G2O_EDGE_SE2_H 28 #define G2O_EDGE_SE2_H 31 #include "g2o/config.h" 43 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
53 virtual bool read(std::istream& is);
54 virtual bool write(std::ostream& os)
const;
58 _inverseMeasurement = m.
inverse();
62 _measurement=
SE2(d[0], d[1], d[2]);
63 _inverseMeasurement = _measurement.inverse();
81 _inverseMeasurement = _measurement.
inverse();
88 #ifndef NUMERIC_JACOBIAN_TWO_D_TYPES 89 virtual void linearizeOplus();
102 #ifdef G2O_HAVE_OPENGL
virtual void setMeasurement(const SE2 &m)
Vector3D toVector() const
convert to a 3D vector (x, y, theta)
Eigen::Matrix< double, 3, 1, Eigen::ColMajor > Vector3D
2D edge between two Vertex2
Abstract action that operates on a graph entity.
std::set< Vertex * > VertexSet
virtual bool getMeasurementData(double *d) const
2D pose Vertex, (x,y,theta)
virtual bool setMeasurementData(const double *d)
#define G2O_TYPES_SLAM2D_API
A general case Vertex for optimization.
virtual bool setMeasurementFromState()
virtual double initialEstimatePossible(const OptimizableGraph::VertexSet &, OptimizableGraph::Vertex *)
const EstimateType & estimate() const
return the current estimate of the vertex
SE2 inverse() const
invert :-)
virtual int measurementDimension() const