Added Dynamic Deflection for Control Surfaces Option #110
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dynamic control adapts the actual deflection of a control surface based on speed and height.
New tunable parameters
Dynamic Deflection: Enable/Disable (this functionality=
StartSpeed: up until this speed no adaption happens. From then on the control input decreases based on the selected exponent.
Exponent: allows to tune the rate of decrease (e.g. exponent 2 reduces the deflection to 0.25x the original at 2x start speed
MinControl: The control does not decrease lower than this value)
In addition control deflection will increase linearly based on altitude (up to the original desired deflection to ensure that the plane keep maneuverability higher up).
Additional small change:
Decrease the minimal threshold of deflection. This was done to improve handling at higher speeds where a little deflection makes a big difference. This will help autopilot PID controllers as there are less "jumps" caused by the relatively high former min value
This is a video showing the changes in action https://youtu.be/ch_f8B0YRis
This graph shows how the settings influence actual deflection (e.g. at 2x the selected start speed with an exponent of 2 yu will get 0.25x the deflection [this means if it had 12 degrees max deflection it will now deflect only 4 degrees]
I will create a small forum post with this as well