namespace mrpt::poses::internalï
namespace internal { // global 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 ); void getPoseFromString< false, false >( const std::string& s, mrpt::poses::CPose3D& p ); void getPoseFromString< false, true >(const std::string& s, mrpt::poses::CPose3D& p); void getPoseFromString< true, false >(const std::string& s, mrpt::poses::CPose3D& p); } // namespace internal
Global Functionsï
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.
: âx y z qx qy qz qwâ)
Specialization for files in the TUM format
Parameters:
std::exception |
On invalid format |
void getPoseFromString< false, true >(const std::string& s, mrpt::poses::CPose3D& p)
Invalid form.
TUM ground truth files are always in Quaternion form.
void getPoseFromString< true, false >(const std::string& s, mrpt::poses::CPose3D& p)
Specialization for strings in Quaternion form.