Function tf2::toMsg(const tf2::Transform&)

Function Documentation

inline geometry_msgs::msg::Transform tf2::toMsg(const tf2::Transform &in)

Convert a tf2 Transform type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h.

Transform

Parameters:

in – A tf2 Transform object.

Returns:

The Transform converted to a geometry_msgs message type.