-
-
Notifications
You must be signed in to change notification settings - Fork 525
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
Expose full mission list #616
Comments
Is that in MAVLink? Say if I connect two instances from QGC and upload a mission from one, the other currently doesn't know about that, right?
I guess that would be a new "mission" plugin, as it probably doesn't fit in the current one (or does it?) |
You can get completion from the SDK
It doesn't fit into the current plugin model of a "simple" API. Options are to add support for all types of mission item, to add an API to set or query the underlying mission params (ie allow a generic option for unknown params). I like the flexibility, but I bet @julianoes won't :-) |
Yes I'd rather have some duplication than one complicated one with all the options that is just as hard as mavlink itself. |
IMO a reasonable compromise option might be to add a mission API to download/upload to file or text buffer using the standard plaintext format. Then anyone who wanted to be "clever" could manually edit and round-trip the file. |
My concern is that if we go down this road, we will quickly end up allowing "plaintext mavlink" a bit everywhere, and that's going against the SDK. We can try say "well, you can use that feature, but we may break it and we won't support you in using it", but people will probably still complain when it breaks, and they will still expect support for that. I don't know, just a concern :-). |
I don't think this breaks the SDK, because the plaintext mission format is defacto standard for mission file storage/retrieval. Entirely up to you guys though. The alternatives are to my mind not as clean. |
I see. Well that could be a possibility. @julianoes do you have an opinion on that? |
Yes, we could have a small plugin just to convert, and upload from/download to these mission format files. |
Wouldn't that fit in the current mission plugin? |
Not really because the mission items don't support all the settings and commands so then part of the file that you want to import is not supported which is actually the case right now as we already support the mission plan file. |
We now listen for MISSION_ACK to know if the mission was updated |
Done in #644. |
We need access to the full mission list.
for this we would like to get a signal when the mission changed (finished uploading) and a way to read all items (not just then ones known to DC)
@julianoes
The text was updated successfully, but these errors were encountered: