Skip to content

Issue in Euler2Quat(), sign of quat.y is inverted

(Generic issue template)

Euler2Quat() in C code has a bug which causes the sign of quat.y output to be inverted. This is leading to unexpected results when head rotation is ON.

The python code def Euler2Quat(ypr: np.ndarray, degrees: bool = True): in (https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec/-/blob/main/scripts/pyaudio3dtools/quaternions/functions.py) seems to be doing the right thing