27 #ifndef G2O_EDGE_SE2_PRIOR_H 28 #define G2O_EDGE_SE2_PRIOR_H 52 #if 0 // this is untested 53 virtual void linearizeOplus() {
54 _jacobianOplusXi.setZero();
55 _jacobianOplusXi.block<2,2>(0,0)=_inverseMeasurement.rotation().toRotationMatrix();
56 _jacobianOplusXi(2,2)=1.;
60 virtual void setMeasurement(
const SE2& m);
61 virtual bool setMeasurementData(
const double* d);
64 Eigen::Map<Vector3D> v(d);
65 v = _measurement.toVector();
71 virtual bool read(std::istream& is);
72 virtual bool write(std::ostream& os)
const;
Vector3D toVector() const
convert to a 3D vector (x, y, theta)
std::set< Vertex * > VertexSet
2D pose Vertex, (x,y,theta)
virtual bool getMeasurementData(double *d) const
#define G2O_TYPES_SLAM2D_API
virtual double initialEstimatePossible(const OptimizableGraph::VertexSet &, OptimizableGraph::Vertex *)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
A general case Vertex for optimization.
int measurementDimension() const
const EstimateType & estimate() const
return the current estimate of the vertex