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

Conversation

hamishwillee
Copy link
Contributor

I'm auto-adding documentation for MAV_CMDs that would be better if sent in COMMAND_INT rather than COMMAND_LONG, based on the hasLocation and isDestination properties (in mavlink/mavlink#1992).

There are some MAV_CMDs (specifically in fence) that have position, but make no sense in a command. This adds the missionOnly attribute that can be applied to the very small subset of mission items to exclude them from getting that note.

Note that at this point haven't found a use case for commandOnly - most commands might in theory be used in missions, though for many it is a bit unlikely. I guess we might add this to indicate those commands that really only intended for commands but if desired would address in a separate PR.

@tridge tridge merged commit 97d7b43 into ArduPilot:master May 29, 2023
7 checks passed
@hamishwillee hamishwillee deleted the attribute_missionOnly branch June 7, 2023 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants