Simplicity or flexibility? Complementary Filter vs. EKF for orientation estimation on mobile devices
Quaternion-based extended Kalman filter for determining orientation by inertial and magnetic sensing