Skip to content

Commit 13f2f73

Browse files
christianpetripeterbarker
authored andcommitted
common: rename/add MAG_CAL_STATUS failure enums to FAILED_* + RESIDUALS_HIGH (mavlink#2478)
1 parent 9a17547 commit 13f2f73

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

message_definitions/v1.0/common.xml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4711,8 +4711,21 @@
47114711
<entry value="3" name="MAG_CAL_RUNNING_STEP_TWO"/>
47124712
<entry value="4" name="MAG_CAL_SUCCESS"/>
47134713
<entry value="5" name="MAG_CAL_FAILED"/>
4714-
<entry value="6" name="MAG_CAL_BAD_ORIENTATION"/>
4715-
<entry value="7" name="MAG_CAL_BAD_RADIUS"/>
4714+
<entry value="6" name="MAG_CAL_FAILED_ORIENTATION">
4715+
<description>Compass calibration failed: the vehicle orientation is outside the required tolerance.</description>
4716+
</entry>
4717+
<entry value="7" name="MAG_CAL_FAILED_RADIUS">
4718+
<description>Compass calibration failed: the radius of the fitted sphere is unrealistically small or large.</description>
4719+
</entry>
4720+
<entry value="8" name="MAG_CAL_FAILED_OFFSETS">
4721+
<description>Compass calibration failed: offset magnitude too large.</description>
4722+
</entry>
4723+
<entry value="9" name="MAG_CAL_FAILED_DIAG_SCALING">
4724+
<description>Compass calibration failed: diagonal or off-diagonal scaling values out of valid range.</description>
4725+
</entry>
4726+
<entry value="10" name="MAG_CAL_FAILED_RESIDUALS_HIGH">
4727+
<description>Compass calibration failed: fitness (RMS residual) exceeds tolerance.</description>
4728+
</entry>
47164729
</enum>
47174730
<enum name="HIL_SENSOR_UPDATED_FLAGS" bitmask="true">
47184731
<description>Flags in the HIL_SENSOR message indicate which fields have updated since the last message</description>

0 commit comments

Comments
 (0)