A3XX: Dampen FBW, Fix Spoiler FBW behavior
This commit is contained in:
parent
0eb4958798
commit
d8c762ff6c
2 changed files with 5 additions and 2 deletions
|
@ -101,6 +101,9 @@ var update_loop = func {
|
|||
|
||||
if (ail > 0.4 or ail < -0.4) {
|
||||
setprop("/it-fbw/roll-lim", "67");
|
||||
if (getprop("/it-fbw/roll-back") == 1 and getprop("/orientation/roll-deg") <= 33.5 and getprop("/orientation/roll-deg") >= -33.5) {
|
||||
setprop("/it-fbw/roll-back", 0);
|
||||
}
|
||||
if (getprop("/it-fbw/roll-back") == 0 and (getprop("/orientation/roll-deg") > 33.5 or getprop("/orientation/roll-deg") < -33.5)) {
|
||||
setprop("/it-fbw/roll-back", 1);
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<type>noise-spike</type>
|
||||
<input>/controls/flight/aileron</input>
|
||||
<output>/controls/flight/aileron-input</output>
|
||||
<max-rate-of-change>2.5</max-rate-of-change>
|
||||
<max-rate-of-change>2.0</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
|
@ -86,7 +86,7 @@
|
|||
<property>/controls/flight/elevator</property>
|
||||
</input>
|
||||
<output>/controls/flight/elevator-input</output>
|
||||
<max-rate-of-change>2.5</max-rate-of-change>
|
||||
<max-rate-of-change>2.0</max-rate-of-change>
|
||||
</filter>
|
||||
|
||||
<!-- =============================================================== -->
|
||||
|
|
Reference in a new issue