27 #ifndef G2O_EDGE_SE2_OFFSET_H_ 28 #define G2O_EDGE_SE2_OFFSET_H_ 37 class ParameterSE2Offset;
48 virtual bool read(std::istream& is);
49 virtual bool write(std::ostream& os)
const;
58 _inverseMeasurement = m.
inverse();
62 Eigen::Map<const Vector3D> v(d);
63 _measurement.fromVector(v);
64 _inverseMeasurement = _measurement.inverse();
69 Eigen::Map<Vector3D> v(d);
70 v = _measurement.toVector();
76 virtual bool setMeasurementFromState() ;
87 virtual bool resolveCaches();
virtual bool getMeasurementData(double *d) const
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
virtual void setMeasurement(const SE2 &m)
virtual double initialEstimatePossible(const OptimizableGraph::VertexSet &, OptimizableGraph::Vertex *)
virtual bool setMeasurementData(const double *d)
std::set< Vertex * > VertexSet
caching the offset related to a vertex
ParameterSE2Offset * _offsetTo
#define G2O_TYPES_SLAM2D_API
CacheSE2Offset * _cacheTo
A general case Vertex for optimization.
SE2 inverse() const
invert :-)
virtual int measurementDimension() const