Class: Epic2VnavUtils
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VnavUtils.ts:14
Utilities for Epic 2 VNAV
Constructors
Constructor
new Epic2VnavUtils():
Epic2VnavUtils
Returns
Epic2VnavUtils
Methods
calculateCruiseToc()
staticcalculateCruiseToc(predictionFunctions,lateralPlan,verticalPlan,activeLegIndex,distanceAlongLeg,currentGroundSpeed,currentAltitude,currentWeight,cruiseAltitude,currentVS,out):TocBocDetails
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VnavUtils.ts:85
Calculates the cruise TOC
Parameters
| Parameter | Type | Description |
|---|---|---|
predictionFunctions | Epic2VerticalPredictionFunctions | The aircraft specific vertical prediction functions |
lateralPlan | FlightPlan | The lateral flight plan. |
verticalPlan | VerticalFlightPlan | The vertical flight plan. |
activeLegIndex | number | The current active leg index. |
distanceAlongLeg | number | The distance the plane is along the current leg in meters. |
currentGroundSpeed | number | The current ground speed, in knots. |
currentAltitude | number | The current indicated altitude in meters. |
currentWeight | number | The current weight in pounds |
cruiseAltitude | number | The cruise altitude, in meters. |
currentVS | number | The current VS in feet |
out | TocBocDetails | The object to which to write the TOC/BOC details. |
Returns
The VNAV TOC/BOC to cruise altitude details.
getVerticalPredictionFunctions()
staticgetVerticalPredictionFunctions(pluginSystem):Epic2VerticalPredictionFunctions
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VnavUtils.ts:20
Gets an interface which defines the various vnav prediction functions
Parameters
| Parameter | Type | Description |
|---|---|---|
pluginSystem | PluginSystem<Epic2AvionicsPlugin<Epic2PluginBinder>, Epic2PluginBinder> | The upper MFD plugin system |
Returns
Epic2VerticalPredictionFunctions
An interface of aircraft specific vertical predictions