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

Add missionOnly="true" attribute to fence cases #2005

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hamishwillee
Copy link
Collaborator

@hamishwillee hamishwillee commented Jun 8, 2023

The fence mav_cmds only be make sense in a mission. This tags them as such. I don't know if there are others.

FYI I did find some cases for "command only" - specifically the ones where you fetch information - unless we support dynamically configurable missions, having a command to get autopilot version or camera information not useful in a mission. Not sure if worth adding though.

Once this goes in I'll update docs to autogenerate a note for those cases.

Copy link
Collaborator

@julianoes julianoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense although it's a bit confusing because geofence is not actually a "mission", but rather it's uploaded via the mission protocol as the geofence type.

@hamishwillee
Copy link
Collaborator Author

You make a good point. Though missionProtocolOnly is messier. My bigger worry is that people will just choose to assume this means that everything not with this can be used in a mission.

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