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

Function Documentation

inline geometry_msgs::msg::Point &tf2::toMsg(const tf2::Vector3 &in, geometry_msgs::msg::Point &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.