A32X: FMGC: SRS engaging in wrong phases

This commit is contained in:
Joshua Davidson 2017-10-26 10:51:27 -04:00
parent 82e1005916
commit 05386e64b3
2 changed files with 3 additions and 2 deletions

View file

@ -106,7 +106,8 @@ var loopFMA = maketimer(0.05, func {
var newvertarm = getprop("/modes/pfd/fma/pitch-mode2-armed");
var thr1 = getprop("/controls/engines/engine[0]/throttle-pos");
var thr2 = getprop("/controls/engines/engine[1]/throttle-pos");
if ((state1 == "TOGA" or state2 == "TOGA") or (flx == 1 and (state1 == "MCT" or state2 == "MCT")) or (flx == 1 and ((state1 == "MAN THR" and thr1 >= 0.83) or (state2 == "MAN THR" and thr2 >= 0.83)))) {
var wow = getprop("/gear/gear[0]/wow");
if (wow and ((state1 == "TOGA" or state2 == "TOGA") or (flx == 1 and (state1 == "MCT" or state2 == "MCT")) or (flx == 1 and ((state1 == "MAN THR" and thr1 >= 0.83) or (state2 == "MAN THR" and thr2 >= 0.83))))) {
# RWY Engagement would go here, but automatic ILS selection is not simulated yet.
if (getprop("/FMGC/internal/v2-set") == 1 and getprop("/it-autoflight/output/vert") != 7) {
setprop("/it-autoflight/input/vert", 7);

View file

@ -1 +1 @@
3014
3015