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

Function Documentation

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

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

QuaternionStamped

Parameters:

t – QuaternionStamped message to extract the timestamp from.

Returns:

The timestamp of the message.