Function tf2::impl::getYaw

Function Documentation

inline double tf2::impl::getYaw(const tf2::Quaternion &q)

The code below is a simplified version of getEulerRPY that only returns the yaw. It is mostly useful in navigation where only yaw matters

Parameters:

q – a tf2::Quaternion

Returns:

the computed yaw