MahonyAHRSupdateIMU(gxi, gyi, gzi, axi, ayi, azi, sampleFreqi, twoKpi,
twoKii, integralFBxi, integralFByi, integralFBzi, q0i, q1i, q2i, halfex)
R. Mahony, T. Hamel, and J.-M. Pflimlin. Nonlinear complementary filters on the special orthogonal group. Automatic Control, IEEE Transactions on, 53(5):1203 –1218, june 2008.