Skip to content

Commit 44d093b

Browse files
committed
common.xml: add polygon fence variants with altitude
1 parent 4307155 commit 44d093b

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

message_definitions/v1.0/common.xml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1955,6 +1955,52 @@
19551955
<param index="6" label="Longitude">Longitude</param>
19561956
<param index="7">Reserved</param>
19571957
</entry>
1958+
1959+
<entry value="5005" name="MAV_CMD_NAV_FENCE_POLYGON_VERTEX_INCLUSION_WITH_ALTITUDES" hasLocation="true" isDestination="false">
1960+
<description>Fence vertex for an inclusion polygon (the polygon must not be self-intersecting). The vehicle must stay within this area. Minimum of 3 vertices required. Altitudes supplied.
1961+
</description>
1962+
<param index="1" label="Vertex Count" minValue="3" increment="1">Polygon vertex count</param>
1963+
<param index="2" label="Inclusion Group" minValue="0" increment="1">Vehicle must be inside ALL inclusion zones in a single group, vehicle must be inside at least one group, must be the same for all points in each polygon</param>
1964+
<param index="3" label="Minimum Altitude"></param>
1965+
<param index="4" label="Maximum Altitude"></param>
1966+
<param index="5" label="Latitude">Latitude</param>
1967+
<param index="6" label="Longitude">Longitude</param>
1968+
<param index="7" label="Altitude Frames"></param> <!-- (param7&0b11111) bits give frame for mimimum altitude, ((param7>>5)&0b11111) gives frame for maximum altitude -->
1969+
</entry>
1970+
<entry value="5006" name="MAV_CMD_NAV_FENCE_POLYGON_VERTEX_EXCLUSION_WITH_ALTITUDES" hasLocation="true" isDestination="false">
1971+
<description>Fence vertex for an exclusion polygon (the polygon must not be self-intersecting). The vehicle must stay outside this area. Minimum of 3 vertices required.
1972+
</description>
1973+
<param index="1" label="Vertex Count" minValue="3" increment="1">Polygon vertex count</param>
1974+
<param index="2">Reserved</param>
1975+
<param index="3" label="Minimum Altitude"></param>
1976+
<param index="4" label="Maximum Altitude"></param>
1977+
<param index="5" label="Latitude">Latitude</param>
1978+
<param index="6" label="Longitude">Longitude</param>
1979+
<param index="7" label="Altitude Frames"></param> <!-- (param7&0b11111) bits give frame for mimimum altitude, ((param7>>5)&0b11111) gives frame for maximum altitude -->
1980+
</entry>
1981+
<entry value="5007" name="MAV_CMD_NAV_FENCE_CIRCLE_INCLUSION_WITH_ALTITUDES" hasLocation="true" isDestination="false">
1982+
<description>Circular fence area. The vehicle must stay inside this area.
1983+
</description>
1984+
<param index="1" label="Radius" units="m">Radius.</param>
1985+
<param index="2" label="Inclusion Group" minValue="0" increment="1">Vehicle must be inside ALL inclusion zones in a single group, vehicle must be inside at least one group</param>
1986+
<param index="3" label="Minimum Altitude"></param>
1987+
<param index="4" label="Maximum Altitude"></param>
1988+
<param index="5" label="Latitude">Latitude</param>
1989+
<param index="6" label="Longitude">Longitude</param>
1990+
<param index="7" label="Altitude Frames"></param> <!-- (param7&0b11111) bits give frame for mimimum altitude, ((param7>>5)&0b11111) gives frame for maximum altitude -->
1991+
</entry>
1992+
<entry value="5008" name="MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION_WITH_ALTITUDES" hasLocation="true" isDestination="false">
1993+
<description>Circular fence area. The vehicle must stay outside this area.
1994+
</description>
1995+
<param index="1" label="Radius" units="m">Radius.</param>
1996+
<param index="2">Reserved</param>
1997+
<param index="3" label="Minimum Altitude"></param>
1998+
<param index="4" label="Maximum Altitude"></param>
1999+
<param index="5" label="Latitude">Latitude</param>
2000+
<param index="6" label="Longitude">Longitude</param>
2001+
<param index="7" label="Altitude Frames"></param> <!-- (param7&0b11111) bits give frame for mimimum altitude, ((param7>>5)&0b11111) gives frame for maximum altitude -->
2002+
</entry>
2003+
19582004
<entry value="5100" name="MAV_CMD_NAV_RALLY_POINT" hasLocation="true" isDestination="false">
19592005
<description>Rally point. You can have multiple rally points defined.
19602006
</description>

0 commit comments

Comments
 (0)