Skip to content

Commit

Permalink
ardupilot: moved BATT_RESET to ardupilot xml
Browse files Browse the repository at this point in the history
changed cmd number are xml file at request of MdB
  • Loading branch information
tridge committed Jun 20, 2019
1 parent cd75dc4 commit 4e566bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 10 additions & 0 deletions message_definitions/v1.0/ardupilotmega.xml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,16 @@
<param index="6">Empty</param>
<param index="7">Empty</param>
</entry>
<entry value="42651" name="MAV_CMD_BATTERY_RESET" hasLocation="false" isDestination="false">
<description>Reset battery capacity for batteries that accumulate consumed battery via integration.</description>
<param index="1" label="battery mask">Bitmask of batteries to reset. Least significant bit is for the first battery.</param>
<param index="2" label="percentage" minValue="0" maxValue="100" increment="1">Battery percentage remaining to set.</param>
<param index="3">Reserved, send 0</param>
<param index="4">Reserved, send 0</param>
<param index="5">Reserved, send 0</param>
<param index="6">Reserved, send 0</param>
<param index="7">Reserved, send 0</param>
</entry>
</enum>
<!-- AP_Limits Enums -->
<enum name="LIMITS_STATE">
Expand Down
10 changes: 0 additions & 10 deletions message_definitions/v1.0/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1471,16 +1471,6 @@
<param index="6">Longitude / Y position.</param>
<param index="7">Altitude / Z position.</param>
</entry>
<entry value="253" name="MAV_CMD_BATTERY_RESET" hasLocation="false" isDestination="false">
<description>Reset battery capacity for batteries that accumulate consumed battery via integration.</description>
<param index="1" label="battery mask">Bitmask of batteries to reset. Least significant bit is for the first battery.</param>
<param index="2" label="percentage" minValue="0" maxValue="100" increment="1">Battery percentage remaining to set.</param>
<param index="3">Reserved, send 0</param>
<param index="4">Reserved, send 0</param>
<param index="5">Reserved, send 0</param>
<param index="6">Reserved, send 0</param>
<param index="7">Reserved, send 0</param>
</entry>
<entry value="300" name="MAV_CMD_MISSION_START" hasLocation="false" isDestination="false">
<description>start running a mission</description>
<param index="1" label="First Item" minValue="0" increment="1">first_item: the first mission item to run</param>
Expand Down

0 comments on commit 4e566bb

Please sign in to comment.