A3XX: AP Disenage if sidestick force
This commit is contained in:
parent
0783e42532
commit
ea58be4bc1
2 changed files with 8 additions and 1 deletions
|
@ -459,6 +459,13 @@ var ap_various = func {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (getprop("/it-autoflight/output/ap1") == 1 or getprop("/it-autoflight/output/ap2") == 1) {
|
||||
if (getprop("/controls/flight/aileron") > 0.4 or getprop("/controls/flight/aileron") < -0.4 or getprop("/controls/flight/elevator") > 0.4 or getprop("/controls/flight/elevator") < -0.4) {
|
||||
setprop("/it-autoflight/input/ap1", 0);
|
||||
setprop("/it-autoflight/input/ap2", 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var flch_on = func {
|
||||
|
|
|
@ -1 +1 @@
|
|||
2029
|
||||
2030
|
Reference in a new issue