From e58955f689993ade3b3a910d5615295a2bd51335 Mon Sep 17 00:00:00 2001 From: flogross89 <63071941+flogross89@users.noreply.github.com> Date: Tue, 22 Oct 2024 06:05:28 +0200 Subject: [PATCH] fix(a380x/btv): Remove problematic auto-selection of BTV runway (#9113) * remove unused variable * Don't set BTV runway automatically at 300ft --- .../systems/instruments/src/MFD/FMC/FmcAircraftInterface.ts | 2 -- .../src/systems/instruments/src/ND/OansControlPanel.tsx | 5 +++-- fbw-common/src/systems/instruments/src/OANC/Oanc.tsx | 5 +++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fbw-a380x/src/systems/instruments/src/MFD/FMC/FmcAircraftInterface.ts b/fbw-a380x/src/systems/instruments/src/MFD/FMC/FmcAircraftInterface.ts index 36e9b428fe0..df40e4ab060 100644 --- a/fbw-a380x/src/systems/instruments/src/MFD/FMC/FmcAircraftInterface.ts +++ b/fbw-a380x/src/systems/instruments/src/MFD/FMC/FmcAircraftInterface.ts @@ -1110,8 +1110,6 @@ export class FmcAircraftInterface { return Number.isFinite(landingWeight) ? landingWeight : NaN; } - private filteredAoA: number = 0; - /** * Updates performance speeds such as GD, F, S, Vls and approach speeds. Write to SimVars */ diff --git a/fbw-a380x/src/systems/instruments/src/ND/OansControlPanel.tsx b/fbw-a380x/src/systems/instruments/src/ND/OansControlPanel.tsx index ec0d346db69..bab45e6c1de 100644 --- a/fbw-a380x/src/systems/instruments/src/ND/OansControlPanel.tsx +++ b/fbw-a380x/src/systems/instruments/src/ND/OansControlPanel.tsx @@ -265,11 +265,12 @@ export class OansControlPanel extends DisplayComponent { this.pposLonWord.setWord(value); }); - this.btvUtils.below300ftRaAndLanding.sub((v) => { + // This lead to BTV being disarmed at 300ft. We'll have to investigate and then fix FIXME + /* this.btvUtils.below300ftRaAndLanding.sub((v) => { if (this.navigraphAvailable.get() === false && v && !this.btvUtils.runwayIsSet()) { this.setBtvRunwayFromFmsRunway(); } - }); + });*/ this.fmsDataStore.landingRunway.sub(async (it) => { // Set control panel display diff --git a/fbw-common/src/systems/instruments/src/OANC/Oanc.tsx b/fbw-common/src/systems/instruments/src/OANC/Oanc.tsx index 3746116c747..ffd4aa358dd 100644 --- a/fbw-common/src/systems/instruments/src/OANC/Oanc.tsx +++ b/fbw-common/src/systems/instruments/src/OANC/Oanc.tsx @@ -443,11 +443,12 @@ export class Oanc extends DisplayComponent> { } }, true); - this.btvUtils.below300ftRaAndLanding.sub(async (v) => { + // This lead to BTV being disarmed at 300ft. We'll have to investigate and then fix FIXME + /* this.btvUtils.below300ftRaAndLanding.sub(async (v) => { if (this.oansNotAvailable.get() === false && v && !this.btvUtils.runwayIsSet()) { [, this.arpCoordinates] = await Oanc.setBtvRunwayFromFmsRunway(this.fmsDataStore, this.btvUtils); } - }); + });*/ this.fmsDataStore.origin.sub(() => this.updateLabelClasses()); this.fmsDataStore.departureRunway.sub(() => this.updateLabelClasses());