-
Notifications
You must be signed in to change notification settings - Fork 44
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
Having issues with uploading mission using mavsdk 2.1 #177
Comments
Does the communication work otherwise? That's the first step. |
Yup the rest work I am able to connect to it and get telemetry fine. |
Did you try uploading the mission without clearing it? What autopilot is running on the other side? Given that you receive a timeout, it could be that the autopilot just doesn't support whatever MAVSDK sends to "clear" the mission (I don't know exactly which message does that). |
It's a generic pixhawk running Ardupilot 4.3.1. Other things I am trying is to
So still working through some solutions right now. |
Do you imply here that it sometimes works? If it does, then it would hint that the system is too slow (and maybe some timeout need to be modified or, arguably, the autopilot should be faster with its ACK (if it is e.g. a command)). But if it always fails, then it could mean that the autopilot does not support the MAVLink "clearing". |
I am using the maven versions of mavsdk and mavsdk server 2.1 along with mavsdk event queue to upload a mission like this
The results I am getting are similar to what issue #166 implied. Which is strange since I thought the fix was implemented into the maven version that I referenced.
Failed to clear Mission due to TIMEOUT: Timeout
Some times the mission gets uploaded , a lot of times it does not. FWIW I am also seeing this when I try to execute actions like start mission, and pause mission . Finally I was seeing this issue on mavsdk 1.3.1 but not as much.
Am I doing something wrong in terms of writing this function?
Thanks
Mike
The text was updated successfully, but these errors were encountered: