Template Function fuse_core::getRoll

Function Documentation

template<typename T>
static inline T fuse_core::getRoll(const T w, const T x, const T y, const T z)

Returns the Euler roll angle from a quaternion.

Parameters:
  • w[in] The quaternion real-valued component

  • x[in] The quaternion x-axis component

  • y[in] The quaternion x-axis component

  • z[in] The quaternion x-axis component

Returns:

The quaternion’s Euler roll angle component