common: rename/add MAG_CAL_STATUS failure enums to FAILED_* + RESIDUALS_HIGH (#2478)

This commit is contained in:
Christian Petri
2026-06-02 23:30:40 +02:00
committed by GitHub
parent 428cae7a40
commit c409cf6904
+15 -2
View File
@@ -4993,8 +4993,21 @@
<entry value="3" name="MAG_CAL_RUNNING_STEP_TWO"/>
<entry value="4" name="MAG_CAL_SUCCESS"/>
<entry value="5" name="MAG_CAL_FAILED"/>
<entry value="6" name="MAG_CAL_BAD_ORIENTATION"/>
<entry value="7" name="MAG_CAL_BAD_RADIUS"/>
<entry value="6" name="MAG_CAL_FAILED_ORIENTATION">
<description>Compass calibration failed: the vehicle orientation is outside the required tolerance.</description>
</entry>
<entry value="7" name="MAG_CAL_FAILED_RADIUS">
<description>Compass calibration failed: the radius of the fitted sphere is unrealistically small or large.</description>
</entry>
<entry value="8" name="MAG_CAL_FAILED_OFFSETS">
<description>Compass calibration failed: offset magnitude too large.</description>
</entry>
<entry value="9" name="MAG_CAL_FAILED_DIAG_SCALING">
<description>Compass calibration failed: diagonal or off-diagonal scaling values out of valid range.</description>
</entry>
<entry value="10" name="MAG_CAL_FAILED_RESIDUALS_HIGH">
<description>Compass calibration failed: fitness (RMS residual) exceeds tolerance.</description>
</entry>
</enum>
<enum name="MAV_EVENT_ERROR_REASON">
<description>Reason for an event error response.</description>