Skip to content

Commit

Permalink
common.xml: Allow individual fences to be enabled and disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per committed Jan 13, 2024
1 parent c2db05e commit 36f30e0
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions message_definitions/v1.0/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,23 @@
<description>Velocity limiting active to prevent breach</description>
</entry>
</enum>
<enum name="FENCE_TYPE">
<entry value="0" name="FENCE_TYPE_ALL">
<description>All fence types</description>
</entry>
<entry value="1" name="FENCE_TYPE_ALT_MAX">
<description>Maximum altitude fence</description>
</entry>
<entry value="2" name="FENCE_TYPE_CIRCLE">
<description>Circle fence</description>
</entry>
<entry value="4" name="FENCE_TYPE_POLYGON">
<description>Polygon fence</description>
</entry>
<entry value="8" name="FENCE_TYPE_ALT_MIN">
<description>Minimum altitude fence</description>
</entry>
</enum>
<!-- Camera Mount mode Enumeration -->
<enum name="MAV_MOUNT_MODE">
<description>Enumeration of possible mount operation modes</description>
Expand Down Expand Up @@ -1304,8 +1321,8 @@
</entry>
<entry value="207" name="MAV_CMD_DO_FENCE_ENABLE" hasLocation="false" isDestination="false">
<description>Mission command to enable the geofence</description>
<param index="1" label="Enable" minValue="0" maxValue="2" increment="1">enable? (0=disable, 1=enable, 2=disable_floor_only)</param>
<param index="2">Empty</param>
<param index="1" label="Enable" minValue="0" maxValue="3" increment="1">enable? (0=disable, 1=enable, 2=disable_floor_only)</param>
<param index="2" label="Type" enum="FENCE_TYPE">Type</param>
<param index="3">Empty</param>
<param index="4">Empty</param>
<param index="5">Empty</param>
Expand Down

0 comments on commit 36f30e0

Please sign in to comment.