As shown on this slide, the magnetometer is used to track the heading, the accelerometer is be used to sense gravity and acceleration, and the gyroscope will tracking angular rotation. The data will be processed by the Sensor Fusion to provide an accurate orientation solution.