MRPT
2.0.4
|
Functions | |
void | getPoseFromString (const std::string &s, mrpt::poses::CPose2D &p) |
template<bool QUAT_REPR = true, bool TUM_FORMAT = true> | |
void | getPoseFromString (const std::string &s, mrpt::poses::CPose3D &p) |
Set the current object value from a string (e.g. More... | |
template<> | |
void | getPoseFromString< false, false > (const std::string &s, mrpt::poses::CPose3D &p) |
template<> | |
void | getPoseFromString< false, true > (const std::string &s, mrpt::poses::CPose3D &p) |
Invalid form. More... | |
template<> | |
void | getPoseFromString< true, false > (const std::string &s, mrpt::poses::CPose3D &p) |
Specialization for strings in Quaternion form. More... | |
|
inline |
Definition at line 27 of file pose_utils.h.
References mrpt::poses::CPose2D::fromStringRaw().
Referenced by readFileWithPoses().
void mrpt::poses::internal::getPoseFromString | ( | const std::string & | s, |
mrpt::poses::CPose3D & | p | ||
) |
Set the current object value from a string (e.g.
: "x y z qx qy qz qw")
Specialization for files in the TUM format
std::exception | On invalid format |
Definition at line 43 of file pose_utils.h.
References ASSERTMSG_, mrpt::format(), mrpt::obs::gnss::pitch, mrpt::math::CQuaternion< T >::r(), mrpt::obs::gnss::roll, mrpt::math::CQuaternion< T >::rpy(), mrpt::poses::CPose3D::setFromValues(), mrpt::system::tokenize(), mrpt::math::CQuaternion< T >::x(), mrpt::math::CQuaternion< T >::y(), and mrpt::math::CQuaternion< T >::z().
|
inline |
Definition at line 72 of file pose_utils.h.
|
inline |
Invalid form.
TUM ground truth files are always in Quaternion form.
Definition at line 80 of file pose_utils.h.
References THROW_EXCEPTION.
|
inline |
Specialization for strings in Quaternion form.
Definition at line 88 of file pose_utils.h.
References mrpt::poses::CPose3DQuat::fromStringRaw().
Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020 |