Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XSD: MAV_CMD missionOnly attribute #821

Merged
merged 1 commit into from
May 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading