Template Function tuw::QuaternionToYaw(const Quaternion&, double&)

Function Documentation

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

Quaternion to an euler yaw angle

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

  • yaw – angle to compute

Returns:

angle to computed