Skip to content

Commit 8d32670

Browse files
committed
ardupilotmega.xml: ESTIMATOR_TYPE enum
Reshuffled EKF_STATUS_REPORT a little in order to make core/srcsets optional.
1 parent e025ecb commit 8d32670

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

message_definitions/v1.0/ardupilotmega.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,17 @@
997997
<description>Set if EKF has never been healthy.</description>
998998
</entry>
999999
</enum>
1000+
<enum name="ESTIMATOR_TYPE">
1001+
<entry value="0" name="ESTIMATOR_TYPE_UNKNOWN"/>
1002+
<!-- for consistency, remember we had an EKF1 -->
1003+
<entry value="1" name="ESTIMATOR_TYPE_EKF1"/>
1004+
<entry value="2" name="ESTIMATOR_TYPE_EKF2"/>
1005+
<entry value="3" name="ESTIMATOR_TYPE_EKF3"/>
1006+
<!-- -->
1007+
<entry value="10" name="ESTIMATOR_TYPE_EXTERNAL"/>
1008+
<!-- -->
1009+
<entry value="100" name="ESTIMATOR_TYPE_SIM"/>
1010+
</enum>
10001011
<enum name="PID_TUNING_AXIS">
10011012
<entry value="1" name="PID_TUNING_ROLL"/>
10021013
<entry value="2" name="PID_TUNING_PITCH"/>
@@ -1723,8 +1734,9 @@
17231734
<field type="float" name="terrain_alt_variance">Terrain Altitude variance.</field>
17241735
<extensions/>
17251736
<field type="float" name="airspeed_variance">Airspeed variance.</field>
1737+
<field type="uint8_t" enum="ESTIMATOR_TYPE" name="type">Estimator type that produced the report.</field>
1738+
<field type="uint8_t" name="active_lane_id" minValue="1" maxValue="6">Estimator lane (core) that produced the report.</field>
17261739
<field type="uint8_t" name="active_srcset_id" minValue="1" maxValue="3">Currently active source set.</field>
1727-
<field type="uint8_t" name="active_lane_id" minValue="1" maxValue="6">Currently estimator lane (core).</field>
17281740
</message>
17291741
<!-- realtime PID tuning message -->
17301742
<message id="194" name="PID_TUNING">

0 commit comments

Comments
 (0)