Skip to content

Commit c4aa136

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 c4aa136

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

message_definitions/v1.0/ardupilotmega.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,15 @@
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_EXTERNAL"/>
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="255" name="ESTIMATOR_TYPE_SIM"/>
1008+
</enum>
10001009
<enum name="PID_TUNING_AXIS">
10011010
<entry value="1" name="PID_TUNING_ROLL"/>
10021011
<entry value="2" name="PID_TUNING_PITCH"/>
@@ -1723,8 +1732,9 @@
17231732
<field type="float" name="terrain_alt_variance">Terrain Altitude variance.</field>
17241733
<extensions/>
17251734
<field type="float" name="airspeed_variance">Airspeed variance.</field>
1735+
<field type="uint8_t" enum="ESTIMATOR_TYPE" name="type">Estimator type that produced the report.</field>
1736+
<field type="uint8_t" name="active_lane_id" minValue="1" maxValue="6">Estimator lane (core) that produced the report.</field>
17261737
<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>
17281738
</message>
17291739
<!-- realtime PID tuning message -->
17301740
<message id="194" name="PID_TUNING">

0 commit comments

Comments
 (0)