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

Function Documentation

inline void tf2::fromMsg(const geometry_msgs::msg::Vector3 &msg, Eigen::Vector3d &out)

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

Parameters:
  • msg – The Vector3 message to convert.

  • out – The vector converted to a Eigen Vector3d.