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

Function Documentation

template<>
inline std::string tf2::getFrameId(const geometry_msgs::msg::TransformStamped &t)

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

Parameters:

t – TransformStamped message to extract the frame ID from.

Returns:

A string containing the frame ID of the message.