I am using the extended kalman filter and trying to find the orientation from the mag, accel and gyr. I get the quaternion, but I want to convert it to euler angles. How should I do that? should I import something as well? this is the code: import numpy as np from ahrs.filters import QUEST… Read More How to convert the quaternion to euler angles in EKF filter?