30 #ifdef G2O_HAVE_OPENGL 49 for (
int i=0; i<3; i++) {
51 std::cerr << off[i] <<
" " ;
53 std::cerr << std::endl;
55 return is.good() || is.eof();
60 for (
int i=0; i<3; i++)
92 double c=cos(alpha), s=sin(alpha);
94 RInversePrime << -s, c, -c, -s;
ParameterVector _parameters
Vector3D toVector() const
convert to a 3D vector (x, y, theta)
Eigen::Matrix< double, 3, 1, Eigen::ColMajor > Vector3D
OptimizableGraph::Vertex * vertex()
const ParameterSE2Offset * offsetParam() const
Eigen::Matrix< double, 2, 2, Eigen::ColMajor > Matrix2D
2D pose Vertex, (x,y,theta)
virtual bool resolveDependancies()
ParameterSE2Offset * _offsetParam
the parameter connected to the cache
Isometry2D _w2n
world to sensor transform
const Eigen::Rotation2Dd & rotation() const
rotational component
Isometry2D _n2w
sensor to world
const SE2 & offset() const
Isometry2D _w2l
world to local
Matrix2D _RpInverse_RInverse
virtual bool read(std::istream &is)
read the data from a stream
void setOffset(const SE2 &offset_=SE2())
Matrix2D _RpInverse_RInversePrime
virtual bool write(std::ostream &os) const
write the data to a stream
const EstimateType & estimate() const
return the current estimate of the vertex
Isometry2D _inverseOffsetMatrix
void setOffsetParam(ParameterSE2Offset *offsetParam)
SE2 inverse() const
invert :-)
virtual void updateImpl()
redefine this to do the update
const Vector2D & translation() const
translational component