27#ifndef G2O_EDGE_POINTXY_H
28#define G2O_EDGE_POINTXY_H
30#include "g2o/config.h"
38 :
public BaseBinaryEdge<2, Vector2, VertexPointXY, VertexPointXY> {
48 virtual bool read(std::istream& is);
49 virtual bool write(std::ostream& os)
const;
54 _measurement =
Vector2(d[0], d[1]);
59 Eigen::Map<Vector2> m(d);
77#ifndef NUMERIC_JACOBIAN_TWO_D_TYPES
78 virtual void linearizeOplus();
const EstimateType & estimate() const
return the current estimate of the vertex
virtual bool setMeasurementFromState()
virtual bool getMeasurementData(double *d) const
virtual bool setMeasurementData(const double *d)
virtual double initialEstimatePossible(const OptimizableGraph::VertexSet &, OptimizableGraph::Vertex *)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
virtual void setMeasurement(const Vector2 &m)
virtual int measurementDimension() const
std::set< Vertex * > VertexSet
A general case Vertex for optimization.
#define G2O_TYPES_SLAM2D_API