From d6f84d45709ad39beb44bbf0e9e221762dc09d46 Mon Sep 17 00:00:00 2001 From: Inuyaksa Date: Wed, 1 Sep 2021 23:31:08 +0200 Subject: [PATCH] Autoland light on pitch mode LAND and faster light pulse --- Models/Instruments/PFD/PFD.nas | 10 +++++----- Systems/a320-fwc.xml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Models/Instruments/PFD/PFD.nas b/Models/Instruments/PFD/PFD.nas index d99de4ce..31b3e4cd 100644 --- a/Models/Instruments/PFD/PFD.nas +++ b/Models/Instruments/PFD/PFD.nas @@ -166,7 +166,7 @@ var dhFlash = props.globals.initNode("/instrumentation/pfd/flash-indicators/dh-f var autoland_alarm = props.globals.initNode("/instrumentation/pfd/logic/autoland/autoland-alarm", 0, "BOOL"); var autoland_pulse = props.globals.initNode("/instrumentation/pfd/logic/autoland/autoland-sw-pulse", 0, "BOOL"); -var autoland_flare_mode = props.globals.initNode("/instrumentation/pfd/logic/autoland/flare-mode", 0, "BOOL"); +var autoland_pitch_land = props.globals.initNode("/instrumentation/pfd/logic/autoland/pitch-land", 0, "BOOL"); var canvas_PFD_base = { init: func(canvas_group, file) { @@ -2969,7 +2969,7 @@ var dhTimer = maketimer(0.50, func { } }); -var autolandTimer = maketimer(1.0, func { +var autolandTimer = maketimer(0.5, func { if (autoland_pulse.getBoolValue()) { autoland_pulse.setBoolValue(0); } else { @@ -2988,9 +2988,9 @@ setlistener(autoland_alarm, func(alarm) { }, 0, 0); setlistener(pitch_mode, func(pitch) { - if (pitch.getValue() == "FLARE") { - autoland_flare_mode.setBoolValue(1); + if (pitch.getValue() == "LAND") { + autoland_pitch_land.setBoolValue(1); } else { - autoland_flare_mode.setBoolValue(0); + autoland_pitch_land.setBoolValue(0); } },0,0); diff --git a/Systems/a320-fwc.xml b/Systems/a320-fwc.xml index 61c60118..3629040f 100644 --- a/Systems/a320-fwc.xml +++ b/Systems/a320-fwc.xml @@ -2326,7 +2326,7 @@ /instrumentation/pfd/logic/autoland/autoland-armed eq 1 - /instrumentation/pfd/logic/autoland/flare-mode eq 1 + /instrumentation/pfd/logic/autoland/pitch-land eq 1 /it-autoflight/output/ap1 eq 0