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

Heli: Add Autorotation Flare and Touch Down Phases #28420

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

MattKear
Copy link
Contributor

This is a very WIP PR that I am opening for some discussion.

It incorporates the flare and touchdown phases.

I have tried to keep changes to other libraries as minimal as possible. I may split those changes out into a separate PR.

This PR depends on #28209, and does contain the commits from that PR.


// Protect against div by 0 case
if (is_zero(climb_rate + k_1)) {
climb_rate -= 0.05;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

something I noticed in the rework/simplification. climb_rate always equals k_1 because of the way k_1 is calculated from rotor drag (CR) and hover thrust. See lines 660 and 650. It was less obvious before because the calc for CR was always called externally to this function.
This means that the denominator in the calc for "a" (line 674) is always this arbitrary -0.05 value.

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

Successfully merging this pull request may close these issues.

1 participant