Function tf2::impl::toQuaternion(const geometry_msgs::msg::Quaternion&)

Function Documentation

inline tf2::Quaternion tf2::impl::toQuaternion(const geometry_msgs::msg::Quaternion &q)

Function needed for the generalization of toQuaternion

Parameters:

q – a geometry_msgs::msg::Quaternion

Returns:

a copy of the same quaternion as a tf2::Quaternion