I have raw accelerometer data (w_ib^b) and magnetometer data from a UAV test flight. I would like to reconstruct the quaternion dynamics of the UAV without accumulating error from integration.
The method I was using involves solving the following integration: d(q_b^w)/dt = 0.5*Omega(w_ib^b)*q, where Omega(w_ib^b) is of the form: [-skew(w_ib^b) w_ib^b; -w_ib^b' 0].
I was wondering whether there was an alternative method of computing the aircraft attitude given raw angular velocity and magnetometer information from a UAV?