Function tf2::toMsg(const Eigen::Quaterniond&)

Function Documentation

inline geometry_msgs::msg::Quaternion tf2::toMsg(const Eigen::Quaterniond &in)

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

Parameters:

in – The Eigen Quaterniond to convert.

Returns:

The quaternion converted to a Quaterion message.