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

Function Documentation

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

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.