-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Bug: Issue 115 static margin stability #125
Bug: Issue 115 static margin stability #125
Conversation
…ess in order to speed up exectuion if linear interpolation is enough, instead of the default spline
Remove the absolute value in the computation of the lift coefficient.
Is the automatic tests already working properly, @giovaniceotto ? Or do you need more time to finnish it? |
Add test to check if the relation between static margins and stability is correct.
…b.com/Projeto-Jupiter/RocketPy into bug/issue-115-static-margin-stability
I have implemented the tests me, @giovaniceotto, @FranzYuri, and @lucasfourier discussed yesterday. I was just unsure on what to check when the static margin is zero, so I just didn't check anything, but feel free to suggest alternatives and comment on my solution. |
@Lucas-KB, would you like to keep the |
@Lucas-KB, I have added the following changes:
Found the last one when checking conflicts before merging (phew...). Now, the plots look much better. In the near future, I would say we need to implement tests that check the natural frequency and damping coefficient, so that errors like these are also caught. However, as the bug we are solving is quite important, I believe we need to merge this PR asap and leave that for another one. Feel free to delete or keep the (By the way, fantastic work!) |
Nice work @giovaniceotto really more organized. About the
Yes, very annoying, it is very hard to review changes because most of them are just this random thing. Could you nail down the reason for this to happen? |
It's fine by me, but please let's wait 1 day until merging because Stano asked us to merge # 122 first, I believe there will be no problem. Regarding the stability_check, I deleted from this PR but uploaded on cloud so we don't loose that masterpiece |
Pull request type
Please check the type of change your PR introduces:
Pull request checklist
Please check if your PR fulfills the following requirements, depending on the type of PR:
Code base additions (for bug fixes / features):
black rocketpy
) has passed locally and any fixes were madepytest --runslow
) have passed locallyWhat is the current behavior?
Negative static margins result in stable flights (see issue #115).
What is the new behavior?
RocketPy will no longer support airfoiled fins (for now) and the changes in the pull request #47 were removed. The stability calculations work as expected now. See the image below
Does this introduce a breaking change?
Simulations considering airfoiled fins will no longer work (until it is reimplemented).