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

Function Documentation

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

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