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

Function Documentation

template<typename Quaternion>
double &tuw::QuaternionToRoll(const Quaternion &q, double &roll)

Quaternion to an euler roll angle

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

  • roll – angle to compute

Returns:

angle to computed