Template Function tf2::impl::toQuaternion(const T&)

Function Documentation

template<typename T>
tf2::Quaternion tf2::impl::toQuaternion(const T &t)

Generic version of toQuaternion. It tries to convert the argument to a geometry_msgs::msg::Quaternion

Parameters:

t – some object

Returns:

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