Text this: Integrated attitude determination system using a combination of magnetometer and horizon sensor data