-
Notifications
You must be signed in to change notification settings - Fork 32
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
Rodhern's update 3 (without the export functionality). #23
Conversation
Change default AoA search method to one better suited for slow flight scenarios.
…atives' section (minor graphical tweak to GUI). Rename 'siteffG' (situation effective gravity) to 'siteffg' (named 'env.effg' when exported to Octave text file).
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.
Looking mostly good to merge, I've left a few comments. Do you have a craft file that I could test for the new search method on or does Brent's method fail for every craft at low Mach numbers?
FerramAerospaceResearch/FARGUI/FAREditorGUI/Simulation/StabilityDerivCalculator.cs
Outdated
Show resolved
Hide resolved
FerramAerospaceResearch/FARGUI/FAREditorGUI/Simulation/StabilityDerivCalculator.cs
Outdated
Show resolved
Hide resolved
The new search method is not an important part of the update, so it does not have to be used if you like Brent's method better. Even if the switch statement always invokes Brent's method we can just leave in the code for the new search method in the solution - in case anyone wants to recompile their own DLL later on. I don't have a particular craft file, but on some old modded KSP 1.3.1 version I have, if I load the (stock) Mallard and try different speeds (all at Kerbin zero altitude) I see a difference. With Brent's method I get results for M0.35 (1.4 deg), and for M0.30 (3.1 deg) but not for M0.25. With the new search method I get the same results for M0.35 and M0.30, but also get results for M0.25 (6.0 deg) and M0.20 (11.5 deg).
I can move both checks to the StabilityDerivGUI.cs file. Is that better?
Sure, I can do that. I will just add another commit on top of the current merge candidate. |
Yes, remove the checks from If possible, I would like to merge this before KSP 1.7 ships. I'll do a release then if nothing breaks. |
Cosmetic modifications to solvers.
Move FAREditorStabDerivErrorExp check to StabilityDerivGUI.cs and split the check into two.
I have split the check into two. Feel free to provide better separate error messages. |
I'll check this later and if everything works will merge it. Thanks |
For some reason git won't let me push anything onto the branch Also, the popup when solver fails is quite annoying, I'd restore the old functionality for now. |
A renewed possible merge for #4.
Note: I do not use KSP 1.6.1 myself and with my merge preparations to the code I don't know if it even compiles.