Template Function tuw::QuaternionToPitch(const Quaternion&)

Function Documentation

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

Quaternion to an euler pitch angle

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

  • pitch – angle to compute

Returns:

angle to computed