Skip to content

Commit

Permalink
DO_FENCE_ENABLE when sent as a command
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee committed Mar 7, 2024
1 parent a3558d6 commit 9d7f658
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion message_definitions/v1.0/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1703,7 +1703,13 @@
<param index="7">Empty</param>
</entry>
<entry value="207" name="MAV_CMD_DO_FENCE_ENABLE" hasLocation="false" isDestination="false">
<description>Mission command to enable the geofence</description>
<description>
Enable the geofence.
This can be used in a mission or via the command protocol.
The effects persist while the mission is being executed, until superseded by another mission item or the mission completes.
When used as a command (outside of mission) the value persists until superseded by another command, a mode change (which reverts system back to system defaults), or reboot.
When used as a command while a mission is running the value is treated as though it were a mission item, and will change the current mission value.
</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" label="Types" enum="FENCE_TYPE">Fence types to enable or disable as a bitmask. A value of 0 indicates that all fences should be enabled or disabled. This parameter is ignored if param 1 has the value 2</param>
<param index="3">Empty</param>
Expand Down

0 comments on commit 9d7f658

Please sign in to comment.