Function tf2::toMsg(const tf2::Vector3&, geometry_msgs::msg::Point32&)

Function Documentation

inline geometry_msgs::msg::Point32 &tf2::toMsg(const tf2::Vector3 &in, geometry_msgs::msg::Point32 &out)

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

Parameters:

in – A tf2 Vector3 object.

Returns:

The Vector3 converted to a geometry_msgs message type.