A3XX: AP Disenage if sidestick force

This commit is contained in:
Joshua Davidson 2017-10-04 20:34:18 -04:00
parent 0783e42532
commit ea58be4bc1
2 changed files with 8 additions and 1 deletions

View file

@ -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 {

View file

@ -1 +1 @@
2029
2030