-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
base: master
Are you sure you want to change the base?
Conversation
|
||
// Protect against div by 0 case | ||
if (is_zero(climb_rate + k_1)) { | ||
climb_rate -= 0.05; |
There was a problem hiding this comment.
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.
6636324
to
088d1f3
Compare
2ae6506
to
80425a7
Compare
80425a7
to
e25017f
Compare
e25017f
to
a739aec
Compare
0deee65
to
24b96c8
Compare
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.