Template Function mrpt::poses::internal::getPoseFromString(const std::string&, mrpt::poses::CPose3D&)

Function Documentation

template<bool QUAT_REPR = true, bool TUM_FORMAT = true>
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

Throws:

std::exception – On invalid format