Skip to content

Commit

Permalink
fix(a380x/btv): Remove problematic auto-selection of BTV runway (#9113)
Browse files Browse the repository at this point in the history
* remove unused variable

* Don't set BTV runway automatically at 300ft
  • Loading branch information
flogross89 authored and aguther committed Oct 22, 2024
1 parent 593ef1a commit e58955f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
5 changes: 3 additions & 2 deletions fbw-a380x/src/systems/instruments/src/ND/OansControlPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,12 @@ export class OansControlPanel extends DisplayComponent<OansProps> {
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
Expand Down
5 changes: 3 additions & 2 deletions fbw-common/src/systems/instruments/src/OANC/Oanc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -443,11 +443,12 @@ export class Oanc<T extends number> extends DisplayComponent<OancProps<T>> {
}
}, 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());
Expand Down

0 comments on commit e58955f

Please sign in to comment.