Skip to content

Heli: Add Autorotation Flare and Touch Down Phases #28420

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

Open
wants to merge 18 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.

@MattKear MattKear force-pushed the pr_heli_autorotation_flare branch from 80425a7 to e25017f Compare May 12, 2025 20:46
@MattKear MattKear force-pushed the pr_heli_autorotation_flare branch from e25017f to a739aec Compare May 12, 2025 20:56
@MattKear MattKear force-pushed the pr_heli_autorotation_flare branch from 0deee65 to 24b96c8 Compare May 22, 2025 13:47
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