-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Nav RTH climb first fix #10908
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
base: master
Are you sure you want to change the base?
Nav RTH climb first fix #10908
Conversation
I am confused by your description. When this is turned on, it just means it will climb in whatever direction the UAV faces (in case of fixed wing) until it reaches the desired altitude as fast as possible and then turn around. When its off, its just turning around first and then climb to its desired altitude at the maximum climb rate to reach RTH-Alt. I think you mix up the linear proportional climb with RTH Linear descent? If the UAV is below nav_rth_altitude it has to reach it as fast as possible to clear obstacles. |
Surely if you want to avoid obstacles you wouldn't set |
https://github.com/iNavFlight/inav/wiki/Navigation-Mode:-Return-to-Home#climb-first It has nothing to do with rate of climb. Though that could be a good option. I would have that in a similar vein to 2 stage climb first though. So a full rate climb is performed to a safe altitude (above tree height for example. This should be a parameter). Then perform a slower climb above that altitude. |
That's exactly what this option is meant to do. so its just either do the turn first or do the climb first. It should not alter the way it climbs with each option. |
@breadoven It all depend on the location you fly. If you fly sub 250 wings at low altitude in parks. Well below tree level. It can be very beneficial for the plane to turn and climb fast at I agree it can be a bit of guess work in knowing whether its better to turn and climb. Or just climb then turn.. |
OK well if that's the understanding of how this is expected to work then this PR isn't needed. Personally the only use I can see for Edit: |
Fixes an issue with the RTH climb first option when set to OFF which doesn't actually seem to work as expected, It should do a linear proportional climb back to the home point when
nav_rth_climb_first
is set OFF but instead it always performs a max auto climb rate climb instead.