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

Mission: provide API to clear mission #663

Closed
julianoes opened this issue Feb 11, 2019 · 6 comments
Closed

Mission: provide API to clear mission #663

julianoes opened this issue Feb 11, 2019 · 6 comments
Labels
beginner A good issue for someone that only gets started

Comments

@julianoes
Copy link
Collaborator

We should probably offer a method that allows to wipe any missions stored on the vehicle. Right now, we can achieve this by uploading an empty mission item list but that's not really visible.

An alternative would be to document what it means to upload an empty list.

The underlying message to send would be: https://mavlink.io/en/messages/common.html#MISSION_CLEAR_ALL

@julianoes julianoes added feature request beginner A good issue for someone that only gets started labels Feb 11, 2019
@JonasVautherin
Copy link
Collaborator

How many missions can be stored on the vehicle?

@julianoes
Copy link
Collaborator Author

julianoes commented Feb 11, 2019

Two but only one at a time. So let's say you're flying 0 and uploading a mission, then it will be stored to 1. Once fully uploaded, everything will switch over to 1.

That's for missions, then there is also stuff around geofence, etc.

@hamishwillee
Copy link
Collaborator

FYI clear mission is documented in https://mavlink.io/en/services/mission.html#clear_mission. In the update for partial missions I note what happens when you upload an empty mission https://github.com/mavlink/mavlink-devguide/pull/157/files#diff-17277822f661b48f9c95c6f034ab0469R166

@julianoes
Copy link
Collaborator Author

Thanks @hamishwillee !

@douglaswsilva
Copy link
Collaborator

Should we close this?

@julianoes
Copy link
Collaborator Author

Thanks @douglaswsilva yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginner A good issue for someone that only gets started
Projects
None yet
Development

No branches or pull requests

4 participants