Function tf2::toMsg(const Stamped<Eigen::Quaterniond>&)

Function Documentation

inline geometry_msgs::msg::QuaternionStamped tf2::toMsg(const Stamped<Eigen::Quaterniond> &in)

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

Parameters:

in – The timestamped Eigen Quaterniond to convert.

Returns:

The quaternion converted to a QuaternionStamped message.