27#ifndef G2O_EDGE_SE2_POINT_XY_BEARING_H
28#define G2O_EDGE_SE2_POINT_XY_BEARING_H
30#include "g2o/config.h"
41 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
47 double angle = std::atan2(delta[1], delta[0]);
67 _measurement = std::atan2(delta[1], delta[0]);
71 virtual bool read(std::istream& is);
72 virtual bool write(std::ostream& os)
const;
76 return (from.count(_vertices[0]) == 1 ? 1.0 : -1.0);
94 EdgeSE2PointXYBearingDrawAction();
const EstimateType & estimate() const
return the current estimate of the vertex
virtual bool getMeasurementData(double *d) const
int measurementDimension() const
virtual bool setMeasurementFromState()
virtual bool setMeasurementData(const double *d)
virtual double initialEstimatePossible(const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *)
Abstract action that operates on a graph entity.
std::set< Vertex * > VertexSet
A general case Vertex for optimization.
SE2 inverse() const
invert :-)
2D pose Vertex, (x,y,theta)
#define G2O_TYPES_SLAM2D_API
double normalize_theta(double theta)