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

Function Documentation

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

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

TransformStamped

Parameters:

t – TransformStamped message to extract the timestamp from.

Returns:

The timestamp of the message.