45 const std::string& parent_frame,
const std::string& child_frame,
49 m_pose_edges_buffer[parent_frame][child_frame] =
50 TF_TreeEdge(child_wrt_parent, timestamp);
59 const std::string& target_frame,
const std::string& source_frame,
65 "timeout_secs!=0: Blocking calls not supported yet!");
68 "`query_time` different than 'latest' not supported yet!");
70 const auto& it_src = m_pose_edges_buffer.find(source_frame);
71 if (it_src == m_pose_edges_buffer.end())
76 const auto& it_dst = it_src->second.find(target_frame);
77 if (it_dst == it_src->second.end())
82 const TF_TreeEdge& te = it_dst->second;
83 child_wrt_parent = te.pose.asTPose();
mrpt::Clock::time_point TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1...
#define ASSERTMSG_(f, __ERROR_MSG)
Defines an assertion mechanism.
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.
#define INVALID_TIMESTAMP
Represents an invalid timestamp, where applicable.