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

Function Documentation

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

Function needed for the generalization of toQuaternion

Parameters:

q – a geometry_msgs::msg::QuaternionStamped

Returns:

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