Skip to content
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

TradHeli: fix yaw behavior in autorotation #26842

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

Ferruccio1984
Copy link
Contributor

Currently, when performing autorotations, bool variable "rotor_speed_above_critical" is allowed to switch to false.
This cause the rotor_runup_complete bool to change to false and consequently limits the I-term of the yaw axis controller (AC_AttitudeControl_Heli.cpp line line 515) , in flight, see following log screenshot:
image
This has potentially dangerous consequences on vehicle controllability.
Suggested mod keeps the "rotor_runup_complete" variable true, thus preventing decay of yaw axis I-term during glide descent.

@bnsgeyer bnsgeyer merged commit 1c10455 into ArduPilot:master Apr 18, 2024
91 checks passed
@bnsgeyer
Copy link
Contributor

Merged. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants