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
48 double angle = atan2(delta[1], delta[0]);
68 _measurement = atan2(delta[1], delta[0]);
72 virtual bool read(std::istream& is);
73 virtual bool write(std::ostream& os)
const;
86 #ifdef G2O_HAVE_OPENGL 89 EdgeSE2PointXYBearingDrawAction();
Eigen::Matrix< double, 2, 1, Eigen::ColMajor > Vector2D
Abstract action that operates on a graph entity.
std::set< Vertex * > VertexSet
2D pose Vertex, (x,y,theta)
virtual double initialEstimatePossible(const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *)
#define G2O_TYPES_SLAM2D_API
virtual bool getMeasurementData(double *d) const
virtual bool setMeasurementFromState()
double normalize_theta(double theta)
A general case Vertex for optimization.
int measurementDimension() const
const EstimateType & estimate() const
return the current estimate of the vertex
SE2 inverse() const
invert :-)
virtual bool setMeasurementData(const double *d)