Specialized Template Function tf2::getTimestamp(const geometry_msgs::msg::PoseStamped&)

Function Documentation

template<>
inline tf2::TimePoint tf2::getTimestamp(const geometry_msgs::msg::PoseStamped &t)

Extract a timestamp from the header of a Pose message. This function is a specialization of the getTimestamp template defined in tf2/convert.h.

PoseStamped

Parameters:

t – PoseStamped message to extract the timestamp from.

Returns:

The timestamp of the message.