Skip to content

Commit

Permalink
feat: vertical navigation v1 flybywiresim#7080 (@c3b141e)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueberryKing authored and Saschl committed Nov 10, 2022
1 parent bb74285 commit 42bec54
Show file tree
Hide file tree
Showing 99 changed files with 8,833 additions and 1,218 deletions.
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
1. [FLIGHTMODEL] Flight Model update - @donstim (donbikes#4084)
1. [HYD] Fix incorrect gain in down pitch commands - @Crocket63 (crocket)
1. [PFD] Improve appearance of L/DEV and V/DEV scales - @tracernz (Mike)
1. [EFB] Added pause at T/D function - @2hwk (2Cas#1022)

## 0.8.0

Expand Down
38 changes: 38 additions & 0 deletions docs/a320-simvars.md
Original file line number Diff line number Diff line change
Expand Up @@ -1285,6 +1285,35 @@
- Bool
- Indicates if the SET HOLD SPEED message is shown on the PFD

- A32NX_PFD_MSG_TD_REACHED
- Bool
- Indicates if the T/D REACHED message is shown on the PFD

- A32NX_PFD_LINEAR_DEVIATION_ACTIVE
- Bool
- Indicates if the linear deviation is shown on the PFD

- A32NX_PFD_TARGET_ALTITUDE
- Feet
- Indicates the current target altitude in the DES mode. This is an indicated altitude and not a pressure altitude
- This is used to compute a linear deviation

- A32NX_PFD_VERTICAL_PROFILE_LATCHED
- Boolean
- Indicates whether to show the latch symbol on the PFD with the deviation indicator

- L:A32NX_PFD_SHOW_SPEED_MARGINS
- Boolean
- Indicates whether speed margins are shown on the PFD in DES mode.

- L:A32NX_PFD_UPPER_SPEED_MARGIN
- Knots
- Indicates the speed for the upper speed margin limit in DES mode

- L:A32NX_PFD_LOWER_SPEED_MARGIN
- Knots
- Indicates the speed for the lower speed margin limit in DES mode

- A32NX_ISIS_LS_ACTIVE
- Bool
- Indicates whether LS scales are shown on the ISIS
Expand Down Expand Up @@ -1629,6 +1658,15 @@ In the variables below, {number} should be replaced with one item in the set: {
- 1 - captain's side FMGC
- 2 - f/o's side FMGC

- A32NX_FM_VNAV_DEBUG_POINT
- Nautical miles
- Indicates the distance from start at which to draw a debug pseudowaypoint on the ND
- **WARNING:** This is only used for testing purposes.

- A32NX_FM_VNAV_TRIGGER_STEP_DELETED
- Bool
- Indicates whether to trigger a step deleted message on the MCDU

## Autopilot System

- A32NX_FMA_LATERAL_MODE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,22 @@ const NXSystemMessages = {
systemBusy: new TypeIMessage("SYSTEM BUSY-TRY LATER"),
uplinkInsertInProg: new TypeIIMessage("UPLINK INSERT IN PROG"),
vToDisagree: new TypeIIMessage("V1/VR/V2 DISAGREE", true),
waitForSystemResponse: new TypeIMessage("WAIT FOR SYSTEM RESPONSE")
waitForSystemResponse: new TypeIMessage("WAIT FOR SYSTEM RESPONSE"),
// FIXME these should be in alphabetical order like the rest
comUnavailable: new TypeIMessage("COM UNAVAILABLE"),
dcduFileFull: new TypeIMessage("DCDU FILE FULL"),
systemBusy: new TypeIMessage("SYSTEM BUSY-TRY LATER"),
noAtc: new TypeIMessage("NO ACTIVE ATC"),
newAtisReceived: new TypeIMessage("NEW ATIS: READ AGAIN"),
noAtisReceived: new TypeIMessage("NO ATIS REPORT RECEIVED"),
noPreviousAtis: new TypeIMessage("NO PREVIOUS ATIS STORED"),
arptTypeAlreadyInUse: new TypeIMessage("ARPT/TYPE ALREADY USED"),
cancelAtisUpdate: new TypeIMessage("CANCEL UPDATE BEFORE"),
keyNotActive: new TypeIMessage("KEY NOT ACTIVE"),
latLonAbreviated: new TypeIMessage("LAT/LON DISPL ABREVIATED"),
stepAboveMaxFl: new TypeIIMessage("STEP ABOVE MAX FL"),
stepAhead: new TypeIIMessage("STEP AHEAD"),
stepDeleted: new TypeIIMessage("STEP DELETED"),
};

const NXFictionalMessages = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class NXUnits {
return NXUnits.metricWeight ? value : value / 0.4535934;
}

static poundsToUser(value) {
return NXUnits.metricWeight ? value / 2.204625 : value;
}

static userWeightUnit() {
return NXUnits.metricWeight ? 'KG' : 'LBS'; // EIS uses S suffix on LB
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
<script type="text/html" import-script="/Pages/VCockpit/Instruments/Airliners/FlyByWire_A320_Neo/CDU/A320_Neo_CDU_NavaidPage.js"></script>
<script type="text/html" import-script="/Pages/VCockpit/Instruments/Airliners/FlyByWire_A320_Neo/CDU/A320_Neo_CDU_NewWaypoint.js"></script>
<script type="text/html" import-script="/Pages/VCockpit/Instruments/Airliners/FlyByWire_A320_Neo/CDU/A320_Neo_CDU_PilotsWaypoint.js"></script>
<script type="text/html" import-script="/Pages/VCockpit/Instruments/Airliners/FlyByWire_A320_Neo/CDU/A320_Neo_CDU_StepAltsPage.js"></script>
<script type="text/html" import-script="/Pages/VCockpit/Instruments/Airliners/FlyByWire_A320_Neo/CDU/A320_Neo_CDU_VerticalRevisionPage.js"></script>
<script type="text/html" import-script="/Pages/VCockpit/Instruments/Airliners/FlyByWire_A320_Neo/CDU/A320_Neo_CDU_HoldAtPage.js"></script>
<script type="text/html" import-script="/Pages/VCockpit/Instruments/Airliners/FlyByWire_A320_Neo/CDU/A320_Neo_CDU_SecFplnMain.js"></script>
Expand Down
Loading

0 comments on commit 42bec54

Please sign in to comment.