-
-
Notifications
You must be signed in to change notification settings - Fork 508
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 download on the server side #2340
Comments
I don't understand what you mea. Can you give a bit more context about your setup and what you're trying to do? |
I am using the v1.4 MAVSDK to develop my own flight control system and want to implement the functionality of downloading flight paths from the aircraft to the APP. I have found the mission_download interface in the mission module, but I am unsure how to implement the transmission of the flight path to the APP on the server side. Do you know how to implement this? |
Aha, so on the server (so autopilot side) you need to use the MissionRawServer API. We call upload from ground station to autopilot, by the way. Also, if you use server plugins, make sure to use MAVSDK v2. Server plugins were not well supported with MAVSDK v1.4. |
Thank you for your reply. The situation is that I can currently implement the flight paths upload from the ground station to autopilot. I want to implement the flight paths download from the autopilot to the ground station and have found the mission_download API in the mission plugin, but I am not sure how to provide the flight paths to the ground station. |
Plugins used on the autopilot side are called |
But there is no download_mission API in mission_raw_server plugin. |
No, the way it works is that the client (e.g. a ground station) does the upload or download. The server just responds and does the transfer. |
I have tried using the mission_download API of the mission plugin on the client side, but it returned an empty MissionPlan. |
So there was no mission saved? Sorry, it's difficult to understand what is going on. You might have to share a code snippet or reproducible example. |
I think you're misunderstanding this. The server doesn't initiate or do a mission download. It only "serves". If you want to download a mission, you would use the mission_raw plugin. |
Ok, that would be a bug. Can you share code for me to reproduce and also mention PX4 or ArduPilot version that you're using this against? |
Hi,If I am not directly connected to PX4 or AUTOPILOT, does the mission download on the server side have an interface?
The text was updated successfully, but these errors were encountered: