Function tf2::toMsg(const Eigen::Matrix<double, 6, 1>&)

Function Documentation

inline geometry_msgs::msg::Twist tf2::toMsg(const Eigen::Matrix<double, 6, 1> &in)

Convert a Eigen 6x1 Matrix type to a Twist message. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters:

in – The 6x1 Eigen Matrix to convert.

Returns:

The Eigen Matrix converted to a Twist message.