-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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
RTL issues with multiCopter #8257
Comments
The veering in the wrong direction particularly concerns me. |
The climb is broken because the default MC max return altitude (-1 to disable) is respected. https://github.com/PX4/Firmware/blob/master/src/modules/navigator/rtl.cpp#L78 |
@santiago3dr could you expand on the second point? Is it only the heading that's wrong, or does RTL actually fly in the wrong direction? |
just ran 2 flights on the same copter to replicate this issue none of the rtl attempts rose to set rtl altitude |
was able to reproduce this on the snapdragon flight controller (EAGLE) it seems rtl finds a direct path to the first rtl trajectory |
Could very well be related to #6679 (comment) |
Fix for the altitude here - #8272 |
Or we would bring this #8101 in. |
The problem with the strange rtl direction behavior sounds familiar, and the issue was caused by having the previous setpoint not reset correctly. I will look into it today. |
Please give this PR a try. #8272 |
I confirmed now that one issue (there might be more than that) is that the previous setpoint gets reset to the wrong setpoint.
|
@santiago3dr various navigator fixes have made it into master. Please reopen if this isn't completely resolved. |
@dagar |
Quadcopter running pixracer (v4)
two possibly related issues
both issues present:
https://logs.px4.io/plot_app?log=a229d06a-b4f6-4333-ae1c-246c3f90f8b1
https://logs.px4.io/plot_app?log=c6d5b63b-c467-491b-83b3-cfb39064abeb
altitude issue present:
https://logs.px4.io/plot_app?log=f999958f-6a2f-419a-8a1c-e812045e8be7
using the same version of master on fixed wing, RTL looks to be working fine:
RTL set to 60m:
engaging rtl below set altitude:
https://logs.px4.io/plot_app?log=ac6e62a9-6c02-4e3d-a9c3-132c2adfd0c8
engaging rtl above set altitude:
https://logs.px4.io/plot_app?log=2ead01d6-a13d-4df6-b261-54c1ec2137ab
@dagar @sanderux @priseborough
The text was updated successfully, but these errors were encountered: