Skip to content

Commit

Permalink
common.xml: added MAV_CMD_BATTERY_RESET
Browse files Browse the repository at this point in the history
allows for batteries to be reset on battery swap
  • Loading branch information
tridge committed Jun 20, 2019
1 parent 9522f75 commit cd75dc4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions message_definitions/v1.0/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1471,6 +1471,16 @@
<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>

This comment has been minimized.

Copy link
@amilcarlucas

amilcarlucas Jun 20, 2019

the unit attribute is missing here.

<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 cd75dc4

Please sign in to comment.