27#ifndef G2O_VERTEX_SE3_
28#define G2O_VERTEX_SE3_
30#include "g2o/config.h"
54 static const int orthogonalizeAfter =
61 virtual bool read(std::istream& is);
62 virtual bool write(std::ostream& os)
const;
65 Eigen::Map<const Vector7> v(est);
66 _estimate = internal::fromVectorQT(v);
71 Eigen::Map<Vector7> v(est);
72 v = internal::toVectorQT(_estimate);
79 Eigen::Map<const Vector6> v(est);
80 _estimate = internal::fromVectorMQT(v);
85 Eigen::Map<Vector6> v(est);
86 v = internal::toVectorMQT(_estimate);
100 Eigen::Map<const Vector6> v(update);
101 Isometry3 increment = internal::fromVectorMQT(v);
102 _estimate = _estimate * increment;
103 if (++_numOplusCalls > orthogonalizeAfter) {
105 internal::approximateNearestOrthogonalMatrix(
106 _estimate.matrix().topLeftCorner<3, 3>());
112 return internal::toSE3Quat(estimate());
116 setEstimate(internal::fromSE3Quat(se3));
135#ifdef G2O_HAVE_OPENGL
141 VertexSE3DrawAction();
147 virtual bool refreshPropertyPtrs(
Abstract action that operates on a graph entity.
write the vertex to some Gnuplot data file
VertexSE3WriteGnuplotAction()
virtual HyperGraphElementAction * operator()(HyperGraph::HyperGraphElement *element, HyperGraphElementAction::Parameters *params_)
3D pose Vertex, represented as an Isometry3
virtual bool setEstimateDataImpl(const double *est)
virtual bool getMinimalEstimateData(double *est) const
virtual bool getEstimateData(double *est) const
virtual bool setMinimalEstimateDataImpl(const double *est)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
virtual void oplusImpl(const double *update)
virtual int estimateDimension() const
virtual int minimalEstimateDimension() const
void G2O_ATTRIBUTE_DEPRECATED(setEstimateFromSE3Quat(const SE3Quat &se3))
wrapper function to use the old SE3 type
SE3Quat G2O_ATTRIBUTE_DEPRECATED(estimateAsSE3Quat() const)
wrapper function to use the old SE3 type
virtual void setToOriginImpl()
sets the node to the origin (used in the multilevel stuff)
#define G2O_TYPES_SLAM3D_API
Eigen::Transform< double, 3, Eigen::Isometry, Eigen::ColMajor > Isometry3
Property< float > FloatProperty