The compass calibration process configures all connected internal and external magnetometers. QGroundControl will guide you to position the vehicle in a number of set orientations and rotate the vehicle about the specified axis.
If you are using an external magnetometer/compass (e.g. a compass integrated into a GPS module) make sure you mount the external compass on your vehicle properly and connect it to the autopilot hardware. Instructions for connecting your GPS+compass can be found in Basic Assembly for your specific autopilot hardware. Once connected, QGroundControl will automatically detect the external magnetometer.
The calibration steps are:
- Start QGroundControl and connect the vehicle.
- Select the Gear icon (Vehicle Setup) in the top toolbar and then Sensors in the sidebar.
Click the Compass sensor button.
You should already have set the Autopilot Orientation. If not, you can also set it here.
Click OK to start the calibration.
Place the vehicle in any of the orientations shown in red (incomplete) and hold it still. Once prompted (the orientation-image turns yellow) rotate the vehicle around the specified axis in either/both directions. Once the calibration is complete for the current orientation the associated image on the screen will turn green.
Repeat the calibration process for all vehicle orientations.
Once you've calibrated the vehicle in all the positions QGroundControl will display Calibration complete (all orientation images will be displayed in green and the progress bar will fill completely). You can then proceed to the next sensor.