-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Incompatilibilty with MAVSDK missions #14904
Comments
Introduced with #11878, presumably on purpose as mentioned in: e5690b3
|
The reason MAVSDK sends the same lat/lon twice in a row is because it adds a @LorenzMeier do you think we could make an exception in the MissionFeasibilityChecker to ignore loiter mission items for the distance check? |
The core issue is that the mission geometry logic gets a lot more complex if waypoints are in the same physical location (you need to traverse the list back a lot more than a single step to find the previous location). I would have a strong preference for just adding NAV_DELAY. |
@julianoes NAV_DELAY is supported in PX4 since quite a while (probably years). I would suggest to fix the generation of the mission in MAVSDK accordingly. |
I'm closing this issue here and I've opened a new issue in MAVSDK and assigned @julianoes . I've provided further context of why this is not something the autopilot should support. mavlink/MAVSDK#1101 |
@LorenzMeier ok two points to this:
|
So it is recommended to use NAV_WAYPOINT + NAV_DELAY instead of NAV_LOITER_TIME? Sometimes I have issues with NAV_LOITER_TIME that it is not correctly setting the waypoint as finished. |
For now fixed by #14921. |
Describe the bug
When running a mission with MAVSDK we now get the failure:
To Reproduce
Run SITL.
Run MAVSDK integration test:
Expected behavior
It should fly the mission as previously.
The text was updated successfully, but these errors were encountered: