From a97a012d6843eb373be8709c76e2dda27945df58 Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Sun, 19 Jul 2020 22:24:08 +0100 Subject: [PATCH 1/2] Bugfix --- Sounds/A320-common-sound.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sounds/A320-common-sound.xml b/Sounds/A320-common-sound.xml index 0d2728c2..ad85debd 100644 --- a/Sounds/A320-common-sound.xml +++ b/Sounds/A320-common-sound.xml @@ -1071,7 +1071,7 @@ once wow0 - Aircraft/A320-family/Sounds/SASA/Touch-Nose.wav + Aircraft/A320-family/Sounds/SASA/Touch-Main.wav gear/gear[0]/wow From a1d20d78fb506d4cbbd540015d743de3b4d1ebd8 Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Sun, 19 Jul 2020 23:58:21 +0100 Subject: [PATCH 2/2] Correct autopilot max bank angle to 30 deg, THR IDLE in autoland at 30 feet, altitude capture at delta 20 feet, and LAND arms at 400 rather than 300 --- Nasal/FMGC/FMGC-b.nas | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Nasal/FMGC/FMGC-b.nas b/Nasal/FMGC/FMGC-b.nas index 672d47fb..74bec869 100644 --- a/Nasal/FMGC/FMGC-b.nas +++ b/Nasal/FMGC/FMGC-b.nas @@ -270,16 +270,17 @@ var ITAF = { # Autoland Logic if (Output.latTemp == 2) { - if (Position.gearAglFtTemp <= 150) { + if (Position.gearAglFtTemp <= 50) { # ALIGN me.setLatMode(4); } } if (Output.vertTemp == 2) { - if (Position.gearAglFtTemp <= 300 and Position.gearAglFtTemp >= 5) { + if (Position.gearAglFtTemp <= 400 and Position.gearAglFtTemp >= 5) { Text.vert.setValue("LAND"); - } - if (Position.gearAglFtTemp <= 100 and Position.gearAglFtTemp >= 5) { - me.setVertMode(6); + + if (Position.gearAglFtTemp <= 100) { # switch to internal flare logic at 100 feet -- but on FMA at 50! + me.setVertMode(6); + } } } else if (Output.vertTemp == 6) { if (Position.gearAglFtTemp <= 50 and Position.gearAglFtTemp >= 5) { @@ -317,14 +318,15 @@ var ITAF = { # Altitude Hold Min/Max Reset if (Internal.altCaptureActive) { - if (abs(Internal.altDiff) <= 25) { + if (abs(Internal.altDiff) <= 20) { me.resetClimbRateLim(); Text.vert.setValue("ALT HLD"); } } # Thrust Mode Selector - if (Output.athr.getBoolValue() and Output.vertTemp != 7 and (Output.ap1Temp or Output.ap2Temp) and Position.gearAglFt.getValue() <= 18 and (Output.vertTemp == 2 or Output.vertTemp == 6)) { + if (Output.athr.getBoolValue() and Output.vertTemp != 7 and (Output.ap1Temp or Output.ap2Temp) and Position.gearAglFt.getValue() <= 30 and (Output.vertTemp == 2 or Output.vertTemp == 6)) { + # Manual says 40 feet -- but video reference shows 30! Output.thrMode.setValue(1); Text.thr.setValue("RETARD"); } else if (Output.vertTemp == 4) { @@ -372,7 +374,6 @@ var ITAF = { } }, slowLoop: func() { - Input.bankLimitSWTemp = Input.bankLimitSW.getValue(); Velocities.trueAirspeedKtTemp = Velocities.trueAirspeedKt.getValue(); FPLN.activeTemp = FPLN.active.getValue(); FPLN.currentWpTemp = FPLN.currentWp.getValue(); @@ -383,7 +384,7 @@ var ITAF = { } else if (Velocities.trueAirspeedKtTemp >= 340) { Internal.bankLimitAuto = 20; } else { - Internal.bankLimitAuto = 25; + Internal.bankLimitAuto = 30; } Internal.bankLimit.setValue(Internal.bankLimitAuto);