I am using an IMU (MPU9150/9250) for measuring relative joint angle. If in two different conditions where,
X is up and Z is towards the user
Z is up and X is towards the user
How can I convert the quaternion to Euler angle in ZYX sequence with out having singularity?
Best Regards,
Akhil