Skip to content

Commit

Permalink
MAV_CMD missionOnly attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored and tridge committed May 29, 2023
1 parent 308348a commit 97d7b43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generator/mavschema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@
<!-- definition entry elements attributes (like the ones used on MAV_CMD for example) -->
<xs:attribute name="hasLocation" type="xs:boolean" default="true"/> <!-- entry has lat/lon/alt location -->
<xs:attribute name="isDestination" type="xs:boolean" default="true"/> <!-- entry is a destination -->
<xs:attribute name="missionOnly" type="xs:boolean" default="true"/> <!-- entry only makes sense in missions, not commands -->

<!-- definition of complex elements -->
<xs:element name="param">
Expand Down Expand Up @@ -255,6 +256,7 @@
<xs:attribute ref="name" use="required"/>
<xs:attribute ref="hasLocation"/>
<xs:attribute ref="isDestination"/>
<xs:attribute ref="missionOnly"/>
</xs:complexType>
</xs:element>

Expand Down

0 comments on commit 97d7b43

Please sign in to comment.