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

Directly import a mission as character data #1948

Closed
blank-supportgis opened this issue Dec 22, 2022 · 3 comments · Fixed by #1950
Closed

Directly import a mission as character data #1948

blank-supportgis opened this issue Dec 22, 2022 · 3 comments · Fixed by #1950
Labels

Comments

@blank-supportgis
Copy link

blank-supportgis commented Dec 22, 2022

I'm currently developing a mission management for an autonomous drone in Python, using MAVSDK's Python bindings. A mission is sent as a string to the drone's companion computer via LTE, gets imported using the command drone.mission.import_qgroundcontrol_mission and is then uploaded to the flight controller.
The inconvenience here is, that the function import_qgroundcontrol_mission only accepts a filename as input, so I have to write the received mission string to a file, Import that file and delete it again afterwards.This is especially inconvenient since most companion computers will use SD cards as their memory, which are notoriously short lived when receiving frequent write operations. Every write operation to disk you can avoid should be avoided.

Could we have an alternative import operation that accepts the plan data directly as string? I attempted integrate this function myself, but been struggling with correctly building everything for some time now. For a developer who has the build environment readily set up and understands the workings of MAVSDK, the effort should be very small.

@julianoes
Copy link
Collaborator

Thanks for the issue. Good idea! And I like how you provide some context of why this would be helpful for you!

@julianoes
Copy link
Collaborator

@blank-supportgis any chance you could test this? #1950

@blank-supportgis
Copy link
Author

@blank-supportgis any chance you could test this? #1950

Thanks, that was quick!
I don't know if I can test it this year. Like I said, I'm struggling with building everything, but that is problably a story for another thread...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants