27#ifndef G2O_EDGE_SE2_POINT_XY_OFFSET_H_
28#define G2O_EDGE_SE2_POINT_XY_OFFSET_H_
45 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
47 virtual bool read(std::istream& is);
48 virtual bool write(std::ostream& os)
const;
56 Eigen::Map<const Vector2> v(d);
62 Eigen::Map<Vector2> v(d);
69 virtual bool setMeasurementFromState();
74 return (from.count(
_vertices[0]) == 1 ? 1.0 : -1.0);
caching the offset related to a vertex
virtual bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex
ParameterSE2Offset * offsetParam
virtual double initialEstimatePossible(const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *to)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW EdgeSE2PointXYOffset()
virtual bool getMeasurementData(double *d) const
virtual bool setMeasurementData(const double *d)
virtual bool resolveCaches()
virtual void linearizeOplus()
virtual void setMeasurement(const Vector2 &m)
virtual int measurementDimension() const
virtual bool write(std::ostream &os) const
write the vertex to a stream
VertexContainer _vertices
std::set< Vertex * > VertexSet
A general case Vertex for optimization.
#define G2O_TYPES_SLAM2D_API