27#ifndef G2O_EDGE_SE2_SENSOR_CALIB_H
28#define G2O_EDGE_SE2_SENSOR_CALIB_H
52 _inverseMeasurement * ((x1 * laserOffset->
estimate()).inverse() * x2 *
59 _inverseMeasurement = m.
inverse();
64 if (from.count(_vertices[2]) == 1
65 && ((from.count(_vertices[0]) == 1 && to == _vertices[1]) ||
66 ((from.count(_vertices[1]) == 1 && to == _vertices[0])))) {
74 virtual bool read(std::istream& is);
75 virtual bool write(std::ostream& os)
const;
82class EdgeSE2SensorCalibDrawAction :
public DrawAction {
84 EdgeSE2SensorCalibDrawAction();
const EstimateType & estimate() const
return the current estimate of the vertex
scanmatch measurement that also calibrates an offset for the laser
void setMeasurement(const SE2 &m)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
virtual double initialEstimatePossible(const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *to)
Abstract action that operates on a graph entity.
std::set< Vertex * > VertexSet
A general case Vertex for optimization.
Vector3 toVector() const
convert to a 3D vector (x, y, theta)
SE2 inverse() const
invert :-)
2D pose Vertex, (x,y,theta)
#define G2O_TYPES_SCLAM2D_API