Template Function tf2::impl::toQuaternion(const tf2::Stamped<T>&)

Function Documentation

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

Function needed for the generalization of toQuaternion

Parameters:

t – some tf2::Stamped object

Returns:

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