-
Notifications
You must be signed in to change notification settings - Fork 223
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
goto example returns action error #633
Comments
I can confirm that this is a problem. The vehicle actually reaches the target point, but mavsdk returns an error @JonasVautherin @julianoes Any clues on how we can solve this? |
Seems like it throws Could it be that PX4 returned |
@JonasVautherin Looked a bit into PX4 side, and indeed PX4 returns It is complaining that the mode switch was not requested: https://github.com/PX4/PX4-Autopilot/blob/d6dbf38a1ba376cde9e65c10430e6feb52f6fdd5/src/modules/commander/Commander.cpp#L723 It seems like the check was introduced in PX4/PX4-Autopilot#22078, so looks like a real regression to me |
@JonasVautherin I have made a fix here: mavlink/MAVSDK#2170 |
Hey all, thank you for opening this issue. I seem to be getting the same result when I run goto.py in examples. I have looked at the fix here, but I am not sure how to proceed to fix the error. Can you please explain how to implement the fix in MAVSDK Python? |
Thank you for this. Could you please walk me through how to implement the fix in mavsdk python? |
So the fix is in main, and not the current released v1.4 MAVSDK version. So I assume we have to wait until v2 is released? |
I tried the
goto.py
in the examples but returns a action errorTried in SITL Gazebo
The text was updated successfully, but these errors were encountered: