#include <edge_se2_pointxy_bearing.h>
Public Member Functions | |
void | computeError () |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | EdgeSE2PointXYBearing () |
virtual bool | getMeasurementData (double *d) const |
virtual void | initialEstimate (const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *to) |
virtual double | initialEstimatePossible (const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *to) |
int | measurementDimension () const |
virtual bool | read (std::istream &is) |
read the vertex from a stream, i.e., the internal state of the vertex | |
virtual bool | setMeasurementData (const double *d) |
virtual bool | setMeasurementFromState () |
virtual bool | write (std::ostream &os) const |
write the vertex to a stream |
Definition at line 27 of file edge_se2_pointxy_bearing.h.
Definition at line 33 of file edge_se2_pointxy_bearing.cpp.
void g2o::EdgeSE2PointXYBearing::computeError | ( | ) | [inline, virtual] |
Implements g2o::OptimizableGraph::Edge.
Definition at line 32 of file edge_se2_pointxy_bearing.h.
virtual bool g2o::EdgeSE2PointXYBearing::getMeasurementData | ( | double * | m | ) | const [inline, virtual] |
writes the measurement to an array of double
Reimplemented from g2o::OptimizableGraph::Edge.
Definition at line 47 of file edge_se2_pointxy_bearing.h.
void g2o::EdgeSE2PointXYBearing::initialEstimate | ( | const OptimizableGraph::VertexSet & | from, |
OptimizableGraph::Vertex * | to | ||
) | [virtual] |
set the estimate of the to vertex, based on the estimate of the from vertices in the edge.
Reimplemented from g2o::BaseEdge< D, double >.
Definition at line 38 of file edge_se2_pointxy_bearing.cpp.
virtual double g2o::EdgeSE2PointXYBearing::initialEstimatePossible | ( | const OptimizableGraph::VertexSet & | from, |
OptimizableGraph::Vertex * | to | ||
) | [inline, virtual] |
override in your class if it's possible to initialize the vertices in certain combinations. The return value may correspond to the cost for initiliaizng the vertex but should be positive if the initialization is possible and negative if not possible.
Reimplemented from g2o::OptimizableGraph::Edge.
Definition at line 66 of file edge_se2_pointxy_bearing.h.
int g2o::EdgeSE2PointXYBearing::measurementDimension | ( | ) | const [inline, virtual] |
returns the dimension of the measurement in the extended representation which is used by get/setMeasurement;
Reimplemented from g2o::OptimizableGraph::Edge.
Definition at line 52 of file edge_se2_pointxy_bearing.h.
bool g2o::EdgeSE2PointXYBearing::read | ( | std::istream & | is | ) | [virtual] |
read the vertex from a stream, i.e., the internal state of the vertex
Implements g2o::OptimizableGraph::Edge.
Definition at line 54 of file edge_se2_pointxy_bearing.cpp.
virtual bool g2o::EdgeSE2PointXYBearing::setMeasurementData | ( | const double * | m | ) | [inline, virtual] |
sets the measurement from an array of double
Reimplemented from g2o::OptimizableGraph::Edge.
Definition at line 41 of file edge_se2_pointxy_bearing.h.
virtual bool g2o::EdgeSE2PointXYBearing::setMeasurementFromState | ( | ) | [inline, virtual] |
sets the estimate to have a zero error, based on the current value of the state variables returns false if not supported.
Reimplemented from g2o::OptimizableGraph::Edge.
Definition at line 54 of file edge_se2_pointxy_bearing.h.
bool g2o::EdgeSE2PointXYBearing::write | ( | std::ostream & | os | ) | const [virtual] |
write the vertex to a stream
Implements g2o::OptimizableGraph::Edge.
Definition at line 61 of file edge_se2_pointxy_bearing.cpp.