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

Function Documentation

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

Convert an Eigen Vector3d type to a Vector3 message. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters:

in – The Eigen Vector3d to convert.

Returns:

The vector converted to a Vector3 message.