-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(a380): Fix T/D prediction in PERF CRZ & add T/D reached (#9284)
* fix(mfd/perf): ETA format on PERF page * change mfd dest eta to utils * feat(mfd/pfd) add TD reached message * fix ETA on perf page and display TD distance * hide TD eta prediction if neg dist. Fix TD reached vars * Create FMS MFD publisher * fix tdReached MFD subscription * change spelling of speed MFD messages * clear td reached scratchpad if simvar changes * docs: update changelog * fix lint errors * remove leftover code * fix(mfd): update no fuel fields to 3 dashes when no data
- Loading branch information
1 parent
deab770
commit 0a7db45
Showing
11 changed files
with
117 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
fbw-a380x/src/systems/instruments/src/MsfsAvionicsCommon/providers/FmsMfdPublisher.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { SimVarPublisher, EventBus, SimVarValueType } from '@microsoft/msfs-sdk'; | ||
|
||
export interface FmsMfdVars { | ||
tdReached: boolean; | ||
} | ||
|
||
export class FmsMfdPublisher extends SimVarPublisher<FmsMfdVars> { | ||
constructor(bus: EventBus) { | ||
super(new Map([['tdReached', { name: 'L:A32NX_PFD_MSG_TD_REACHED', type: SimVarValueType.Bool }]]), bus); | ||
} | ||
} |
Oops, something went wrong.