Template Function tuw::QuaternionToYaw(const Quaternion&)

Function Documentation

template<typename Quaternion>
double tuw::QuaternionToYaw(const Quaternion &q)

Quaternion to an euler yaw angle

Parameters:

q – Quaterion with x,y,z and w public members

Returns:

yaw angle to compute