diff --git a/ExtLibs/Mavlink/Mavlink.cs b/ExtLibs/Mavlink/Mavlink.cs
index fb2d326c49..344e4cc4ba 100644
--- a/ExtLibs/Mavlink/Mavlink.cs
+++ b/ExtLibs/Mavlink/Mavlink.cs
@@ -6012,12 +6012,21 @@ public enum MAG_CAL_STATUS: byte
/// |
[Description("")]
MAG_CAL_FAILED=5,
- /// |
- [Description("")]
- MAG_CAL_BAD_ORIENTATION=6,
- /// |
- [Description("")]
- MAG_CAL_BAD_RADIUS=7,
+ /// Compass calibration failed: the vehicle orientation is outside the required tolerance. |
+ [Description("Compass calibration failed: the vehicle orientation is outside the required tolerance.")]
+ MAG_CAL_FAILED_ORIENTATION=6,
+ /// Compass calibration failed: the radius of the fitted sphere is unrealistically small or large. |
+ [Description("Compass calibration failed: the radius of the fitted sphere is unrealistically small or large.")]
+ MAG_CAL_FAILED_RADIUS=7,
+ /// Compass calibration failed: offset magnitude too large. |
+ [Description("Compass calibration failed: offset magnitude too large.")]
+ MAG_CAL_FAILED_OFFSETS=8,
+ /// Compass calibration failed: diagonal or off-diagonal scaling values out of valid range. |
+ [Description("Compass calibration failed: diagonal or off-diagonal scaling values out of valid range.")]
+ MAG_CAL_FAILED_DIAG_SCALING=9,
+ /// Compass calibration failed: fitness (RMS residual) exceeds tolerance. |
+ [Description("Compass calibration failed: fitness (RMS residual) exceeds tolerance.")]
+ MAG_CAL_FAILED_RESIDUALS_HIGH=10,
};
diff --git a/ExtLibs/Mavlink/message_definitions/common.xml b/ExtLibs/Mavlink/message_definitions/common.xml
index 856160b534..ef712ce3a1 100644
--- a/ExtLibs/Mavlink/message_definitions/common.xml
+++ b/ExtLibs/Mavlink/message_definitions/common.xml
@@ -4142,8 +4142,21 @@
-
-
+
+ Compass calibration failed: the vehicle orientation is outside the required tolerance.
+
+
+ Compass calibration failed: the radius of the fitted sphere is unrealistically small or large.
+
+
+ Compass calibration failed: offset magnitude too large.
+
+
+ Compass calibration failed: diagonal or off-diagonal scaling values out of valid range.
+
+
+ Compass calibration failed: fitness (RMS residual) exceeds tolerance.
+