Merge branch 'master' into MCDU
This commit is contained in:
commit
8ebd597ae8
3 changed files with 7 additions and 7 deletions
|
@ -638,7 +638,7 @@ var ap_various = func {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getprop("/it-autoflight/output/ap1") == 1 or getprop("/it-autoflight/output/ap2") == 1) {
|
if (getprop("/it-autoflight/output/ap1") == 1 or getprop("/it-autoflight/output/ap2") == 1) {
|
||||||
if (getprop("/controls/flight/aileron") > 0.3 or getprop("/controls/flight/aileron") < -0.2 or getprop("/controls/flight/elevator") > 0.3 or getprop("/controls/flight/elevator") < -0.2) {
|
if (getprop("/controls/flight/aileron") > 0.2 or getprop("/controls/flight/aileron") < -0.2 or getprop("/controls/flight/elevator") > 0.2 or getprop("/controls/flight/elevator") < -0.2) {
|
||||||
setprop("/it-autoflight/input/ap1", 0);
|
setprop("/it-autoflight/input/ap1", 0);
|
||||||
setprop("/it-autoflight/input/ap2", 0);
|
setprop("/it-autoflight/input/ap2", 0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<pure_gain name="hydraulics/aileron-droop-neg">
|
<pure_gain name="hydraulics/aileron-droop-neg">
|
||||||
<input>hydraulics/aileron-droop</input>
|
<input>hydraulics/aileron-droop</input>
|
||||||
<gain>-1.0</gain>
|
<gain>-1.0</gain>
|
||||||
</pure_gain>
|
</pure_gain>-
|
||||||
|
|
||||||
<fcs_function name="hydraulics/elevator-droop">
|
<fcs_function name="hydraulics/elevator-droop">
|
||||||
<function>
|
<function>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
4221
|
4222
|
Reference in a new issue