1 #ifndef G2O_EDGE_SE2_LOTSOF_XY 2 #define G2O_EDGE_SE2_LOTSOF_XY 4 #include "g2o/config.h" 23 _dimension = dimension_;
24 _information.resize(dimension_, dimension_);
25 _error.resize(dimension_, 1);
26 _measurement.resize(dimension_, 1);
32 _observedPoints = vertices-1;
33 setDimension(_observedPoints*2);
36 virtual void computeError();
38 virtual bool read(std::istream& is);
39 virtual bool write(std::ostream& os)
const;
41 virtual bool setMeasurementFromState();
46 virtual void linearizeOplus();
51 #endif // G2O_EDGE_SE2_LOTSOF_XY EIGEN_MAKE_ALIGNED_OPERATOR_NEW
std::set< Vertex * > VertexSet
#define G2O_TYPES_SLAM2D_API
Protocol The SLAM executable accepts such as solving the and retrieving or vertices in the explicitly state the reprensentation poses are represented by poses by VERTEX_XYZRPY In the Quaternions and other representations could be but note that it is up to the SLAM algorithm to choose the internal representation of the angles The keyword is followed by a unique vertex ID and an optional initialization of the or edges in the explicitly state the type of the constraint pose constraints are given by pose constraints by EDGE_XYZRPY The keyword is followed by a unique edge the IDs of the referenced vertices
void setSize(int vertices)
base class to represent an edge connecting an arbitrary number of nodes
void setDimension(int dimension_)
A general case Vertex for optimization.
unsigned int _observedPoints