Function tf2::fromMsg(const geometry_msgs::msg::Twist&, Eigen::Matrix<double, 6, 1>&)

Function Documentation

inline void tf2::fromMsg(const geometry_msgs::msg::Twist &msg, Eigen::Matrix<double, 6, 1> &out)

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

Parameters:
  • msg – The Twist message to convert.

  • out – The twist converted to a Eigen 6x1 Matrix.