26 cout <<
"p0: " << p0 <<
" => ln SE(3)->se(3) => " << p0.
ln() << endl;
27 cout <<
"p1: " << p1 <<
" => ln SE(3)->se(3) => " << p1.ln() << endl;
28 cout <<
"p2: " << p2 <<
" => ln SE(3)->se(3) => " << p2.ln() << endl;
33 cout <<
"p3+p4: "<< (p3+p4) <<
" => ln SE(3)->se(3) => " 34 << endl << (p3.ln()+p4.ln())
35 << endl << (p3+p4).ln() << endl
52 cout <<
"MRPT exception caught: " << e.what() << endl;
57 printf(
"Untyped exception!!");
double DEG2RAD(const double x)
Degrees to radians.
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
void ln(mrpt::math::CArrayDouble< 6 > &out_ln) const
Take the logarithm of the 3x4 matrix defined by this pose, generating the corresponding vector in the...
static CPose3D exp(const mrpt::math::CArrayNumeric< double, 6 > &vect, bool pseudo_exponential=false)
Exponentiate a Vector in the SE(3) Lie Algebra to generate a new CPose3D (static method).