Main MRPT website > C++ reference for MRPT 1.9.9
Classes | Functions

Classes

struct  CopyCloner
 
struct  CopyStatic
 
struct  dynamic_grid_txt_saver
 
class  generic_copier_ptr
 
struct  TFreeFnDataForZMQ
 

Functions

void free_fn_for_zmq (void *data, void *hint)
 Used in mrpt_send_to_zmq(). More...
 
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...
 
template<typename VECTOR_MSG_T >
void free_zmq_msg_lst (VECTOR_MSG_T &lst_msgs)
 

Function Documentation

◆ free_fn_for_zmq()

void mrpt::utils::internal::free_fn_for_zmq ( void data,
void hint 
)

Used in mrpt_send_to_zmq().

hint points to a TFreeFnDataForZMQ struct, to be freed here.

Definition at line 267 of file CMemoryStream.cpp.

References mrpt::utils::internal::TFreeFnDataForZMQ::buf, and mrpt::utils::internal::TFreeFnDataForZMQ::do_free.

Referenced by mrpt::utils::mrpt_send_to_zmq().

Here is the caller graph for this function:

◆ free_zmq_msg_lst()

template<typename VECTOR_MSG_T >
void mrpt::utils::internal::free_zmq_msg_lst ( VECTOR_MSG_T &  lst_msgs)

Definition at line 145 of file serialization_zmq.h.

Referenced by mrpt::utils::mrpt_recv_from_zmq(), and mrpt::utils::mrpt_recv_from_zmq_into().

Here is the caller graph for this function:

◆ getPoseFromString() [1/2]

void mrpt::utils::internal::getPoseFromString ( const std::string s,
mrpt::poses::CPose2D p 
)
inline

Definition at line 31 of file pose_utils.h.

Referenced by mrpt::utils::readFileWithPoses().

Here is the caller graph for this function:

◆ getPoseFromString() [2/2]

template<bool QUAT_REPR = true, bool TUM_FORMAT = true>
void mrpt::utils::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

Exceptions
std::exceptionOn invalid format

Definition at line 47 of file pose_utils.h.

References ASSERTMSG_, mrpt::mrpt::format(), mrpt::obs::gnss::pitch, mrpt::math::CQuaternion< T >::r(), mrpt::obs::gnss::roll, mrpt::math::CQuaternion< T >::rpy(), mrpt::system::tokenize(), USIZE_STR, mrpt::math::CQuaternion< T >::x(), mrpt::math::CQuaternion< T >::y(), and mrpt::math::CQuaternion< T >::z().

Here is the call graph for this function:

◆ getPoseFromString< false, false >()

template<>
void mrpt::utils::internal::getPoseFromString< false, false > ( const std::string s,
mrpt::poses::CPose3D p 
)
inline

Definition at line 76 of file pose_utils.h.

◆ getPoseFromString< false, true >()

template<>
void mrpt::utils::internal::getPoseFromString< false, true > ( const std::string s,
mrpt::poses::CPose3D p 
)
inline

Invalid form.

TUM ground truth files are always in Quaternion form.

Definition at line 84 of file pose_utils.h.

References THROW_EXCEPTION.

◆ getPoseFromString< true, false >()

template<>
void mrpt::utils::internal::getPoseFromString< true, false > ( const std::string s,
mrpt::poses::CPose3D p 
)
inline

Specialization for strings in Quaternion form.

Definition at line 92 of file pose_utils.h.

References mrpt::poses::CPose3DQuat::fromStringRaw().

Here is the call graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019