|
@@ -82,6 +82,8 @@
|
|
|
<entry value="17" name="VKFLY_COMP_ID_ECU1"></entry>
|
|
|
<entry value="18" name="VKFLY_COMP_ID_ECU2"></entry>
|
|
|
<entry value="19" name="VKFLY_COMP_ID_ECU3"></entry>
|
|
|
+ <entry value="20" name="VKFLY_COMP_ID_WEIGHER"></entry>
|
|
|
+ <entry value="21" name="VKFLY_COMP_ID_PARACHUTE"></entry>
|
|
|
</enum>
|
|
|
|
|
|
<enum name="VKFLY_FS_ACTION">
|
|
@@ -647,6 +649,19 @@
|
|
|
<param index="7" label=""> </param>
|
|
|
</entry>
|
|
|
|
|
|
+ <entry value="44064" name="VKFLY_CMD_WEIGHER_CONFIG" hasLocation="false"
|
|
|
+ isDestination="false">
|
|
|
+ <description>Weigher config command</description>
|
|
|
+ <param index="1" label="Weight Calibrate">NAN means invalid. Other positive value means the
|
|
|
+ actual weight</param>
|
|
|
+ <param index="2" label="Factory Reset">NAN means invalid. 1 means do factory reset.</param>
|
|
|
+ <param index="3" label=""> </param>
|
|
|
+ <param index="4" label=""> </param>
|
|
|
+ <param index="5" label=""> </param>
|
|
|
+ <param index="6" label=""> </param>
|
|
|
+ <param index="7" label=""> </param>
|
|
|
+ </entry>
|
|
|
+
|
|
|
</enum>
|
|
|
</enums>
|
|
|
|
|
@@ -796,6 +811,25 @@
|
|
|
<field type="uint8_t" name="reserved">Number of satellites</field>
|
|
|
</message>
|
|
|
|
|
|
+ <message id="53020" name="VK_PARACHUTE_STATUS">
|
|
|
+ <description>parachute status</description>
|
|
|
+ <field type="uint32_t" name="timestamp" units="ms">timestamp from system boot</field>
|
|
|
+ <field type="uint8_t" name="state" minValue="0" maxValue="3" increment="1">parachute state</field>
|
|
|
+ <field type="uint8_t" name="auto_launch"> is auto launch enabled</field>
|
|
|
+ <field type="uint8_t" name="uav_cmd"> uav command from parachute</field>
|
|
|
+ <field type="uint16_t" name="err_code">parachute error code </field>
|
|
|
+ <field type="float" name="backvolt">parachute backup voltage</field>
|
|
|
+ </message>
|
|
|
+
|
|
|
+ <message id="53021" name="VK_WEIGHER_STATE">
|
|
|
+ <description>Weigher state</description>
|
|
|
+ <field type="uint32_t" name="timestamp" units="ms">timestamp from system boot</field>
|
|
|
+ <field type="uint32_t" name="weight" units="g">weight in gram</field>
|
|
|
+ <field type="uint16_t" name="weight_d">weight variant rate</field>
|
|
|
+ <field type="uint8_t" name="work_state"></field>
|
|
|
+ <field type="uint8_t" name="err_code"></field>
|
|
|
+ </message>
|
|
|
+
|
|
|
<message id="53100" name="VK_FW_UPDATE_BEGIN">
|
|
|
<description>VKFLY autopilot update firmware begin. This message send from GCS to autopilot. </description>
|
|
|
<field type="uint8_t" name="target_system">Target system id.</field>
|