You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/config/compass.md
+42-10Lines changed: 42 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ If you have [mounted the compass](../assembly/mount_gps_compass.md#compass-orien
10
10
11
11
## Overview
12
12
13
-
You will need to calibrate your compass(es) when you first setup your vehicle, and you may need to recalibrate it if the vehicles is ever exposed to a very strong magnetic field, or if it is used in an area with abnormal magnetic characteristics.
13
+
You will need to calibrate your compass(es) when you first setup your vehicle, and you may need to [recalibrate](#recalibration) it if the vehicles is ever exposed to a very strong magnetic field, or if it is used in an area with abnormal magnetic characteristics.
14
14
15
15
:::tip
16
16
Indications of a poor compass calibration include multicopter circling during hover, toilet bowling (circling at increasing radius/spiraling-out, usually constant altitude, leading to fly-way), or veering off-path when attempting to fly straight.
@@ -20,13 +20,16 @@ _QGroundControl_ should also notify the error `mag sensors inconsistent`.
20
20
The process calibrates all compasses and autodetects the orientation of any external compasses.
21
21
If any external magnetometers are available, it then disables the internal magnetometers (these are primarily needed for automatic rotation detection of external magnetometers).
22
22
23
+
### Types of Calibration
24
+
23
25
Several types of compass calibration are available:
24
26
25
27
1.[Complete](#complete-calibration): This calibration is required after installing the autopilot on an airframe for the first time or when the configuration of the vehicle has changed significantly.
26
28
It compensates for hard and soft iron effects by estimating an offset and a scale factor for each axis.
27
29
1.[Partial](#partial-quick-calibration): This calibration can be performed as a routine when preparing the vehicle for a flight, after changing the payload, or simply when the compass rose seems inaccurate.
28
30
This type of calibration only estimates the offsets to compensate for a hard iron effect.
29
-
1.[Large vehicle](#large-vehicle-calibration): This calibration can be performed when the vehicle is too large or heavy to perform a complete calibration. This type of calibration only estimates the offsets to compensate for a hard iron effect.
31
+
1.[Large vehicle](#large-vehicle-calibration): This calibration can be performed when the vehicle is too large or heavy to perform a complete calibration.
32
+
This type of calibration only estimates the offsets to compensate for a hard iron effect.
30
33
31
34
## Performing the Calibration
32
35
@@ -48,23 +51,27 @@ Before starting the calibration:
48
51
The calibration steps are:
49
52
50
53
1. Start _QGroundControl_ and connect the vehicle.
51
-
1. Select **"Q" icon > Vehicle Setup > Sensors** (sidebar) to open _Sensor Setup_.
52
-
1. Click the **Compass** sensor button.
54
+
2. Select **"Q" icon > Vehicle Setup > Sensors** (sidebar) to open _Sensor Setup_.
You should already have set the [Autopilot Orientation](../config/flight_controller_orientation.md). If not, you can also set it here.
60
+
You should already have set the [Autopilot Orientation](../config/flight_controller_orientation.md).
61
+
If not, you can also set it here.
58
62
:::
59
63
60
-
1. Click **OK** to start the calibration.
61
-
1. 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.
64
+
4. Click **OK** to start the calibration.
65
+
5. Place the vehicle in any of the orientations shown in red (incomplete) and hold it still.
66
+
Once prompted (the orientation-image turns yellow) rotate the vehicle around the specified axis in either/both directions.
67
+
Once the calibration is complete for the current orientation the associated image on the screen will turn green.
62
68
63
69

64
70
65
-
1. Repeat the calibration process for all vehicle orientations.
71
+
6. Repeat the calibration process for all vehicle orientations.
66
72
67
-
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.
73
+
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).
74
+
You can then proceed to the next sensor.
68
75
69
76
### Partial "Quick" Calibration
70
77
@@ -87,7 +94,8 @@ Notes:
87
94
88
95
This calibration process leverages external knowledge of vehicle's orientation and location, and a World Magnetic Model (WMM) to calibrate the hard iron biases.
89
96
90
-
1. Ensure GNSS Fix. This is required to find the expected Earth magnetic field in WMM tables.
97
+
1. Ensure GNSS Fix.
98
+
This is required to find the expected Earth magnetic field in WMM tables.
91
99
2. Align the vehicle to face True North.
92
100
Be as accurate as possible for best results.
93
101
3. Open the [QGroundControl MAVLink Console](https://docs.qgroundcontrol.com/master/en/qgc-user-guide/analyze_view/mavlink_console.html) and send the following command:
@@ -107,6 +115,30 @@ Notes:
107
115
108
116
After the calibration is complete, check that the heading indicator and the heading of the arrow on the map are stable and match the orientation of the vehicle when turning it e.g. to the cardinal directions.
109
117
118
+
## Recalibration
119
+
120
+
Recalibration is recommended whenever the magnetic environment of the vehicle has changed or when heading behavior appears unreliable.
121
+
122
+
You can use either complete calibration or mag quick calibration depending on the size of the vehicle and your ability to rotate it through the required orientations.
123
+
Complete calibration provides the most accurate soft-iron compensation.
124
+
125
+
Recalibrate the compass when:
126
+
127
+
-_The compass module or its mounting orientation has changed._
128
+
This includes replacing the GPS or mag unit, rotating the mast, or altering how the module is fixed to the airframe.
129
+
-_The vehicle has been exposed to a strong magnetic disturbance._
130
+
Examples include transport or storage near large steel structures, welding operations near the airframe, or operation close to high-current equipment.
131
+
-_Structural, wiring, or payload changes may have altered the magnetic field around the sensors._
132
+
New payloads, rerouted wires, additional batteries, or metal fasteners can introduce soft-iron effects that affect heading accuracy.
133
+
-_The vehicle is operated in a region with significantly different magnetic characteristics._
134
+
Large changes in latitude, longitude, or magnetic inclination can require re-estimation of offsets.
For example, if you see the error `mag sensors inconsistent`.
137
+
-_Heading behavior does not match the vehicle’s observed orientation._
138
+
Symptoms include drifting yaw, sudden heading jumps when attempting to fly straight, and toilet bowling
139
+
-_QGroundControl_ sends the error `mag sensors inconsistent`.
140
+
This indicates that multiple magnetometers are reporting different headings.
141
+
110
142
## Additional Calibration/Configuration
111
143
112
144
The process above will autodetect, [set default rotations](../advanced_config/parameter_reference.md#SENS_MAG_AUTOROT), calibrate, and prioritise, all available magnetometers.
0 commit comments