27 #ifndef G2O_TYPES_SLAM2D_ONLINE_H 28 #define G2O_TYPES_SLAM2D_ONLINE_H 46 updatedEstimate = _estimate;
51 Eigen::Vector3d p=_estimate.toVector();
52 p+=Eigen::Map<Eigen::Vector3d>(update);
54 updatedEstimate.fromVector(p);
71 if (from.count(fromEdge) > 0) {
85 Eigen::Vector3d error = delta.
toVector();
86 return error.dot(information() * error);
double chi2() const
computes the chi2 based on the cached error value, only valid after computeError has been called...
virtual void oplusImpl(const double *update)
Vector3D toVector() const
convert to a 3D vector (x, y, theta)
2D edge between two Vertex2
std::set< Vertex * > VertexSet
void initialEstimate(const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
virtual void oplusImpl(const double *update)
2D pose Vertex, (x,y,theta)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
double normalize_theta(double theta)
void setEstimate(const EstimateType &et)
set the estimate for the vertex also calls updateCache()
A general case Vertex for optimization.
VertexSE2::EstimateType updatedEstimate
SE2 inverse() const
invert :-)
void oplusUpdatedEstimate(double *update)
#define G2O_INTERACTIVE_API