Skip to main content

Class: Epic2VNavManager

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:21

An Epic2 VNav Manager.

Implements​

  • VNavManager

Constructors​

Constructor​

new Epic2VNavManager(bus, flightPlanner, calculator, performancePlan, apValues, primaryPlanIndex, facLoader, predictionFunctions): Epic2VNavManager

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:222

Creates an instance of the VNAV director.

Parameters​

ParameterTypeDescription
busEventBusThe event bus to use with this instance.
flightPlannerFlightPlannerThe flight planner to use with this instance.
calculatorVNavPathCalculatorThe VNAV path calculator to use with this instance.
performancePlanEpic2PerformancePlanPerforance Plan
apValuesAPValuesare the autopilot ap values.
primaryPlanIndexnumberThe index of the flightplan to follow vertical guidance from.
facLoaderFacilityLoaderThe facility loader
predictionFunctionsEpic2VerticalPredictionFunctionsAn interface of the various aircraft specific vertical predictions

Returns​

Epic2VNavManager

Properties​

activateMode()?​

optional activateMode: (mode) => void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:83

A callback called by the autopilot to activate the supplied vertical mode.

Parameters​

ParameterType
modeAPVerticalModes

Returns​

void

Implementation of​

VNavManager.activateMode


armMode()?​

optional armMode: (mode) => void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:80

A callback called by the autopilot to arm the supplied vertical mode.

Parameters​

ParameterType
modeAPVerticalModes

Returns​

void

Implementation of​

VNavManager.armMode


calculator​

readonly calculator: VNavPathCalculator

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:224

The VNAV path calculator to use with this instance.


capturedAltitude​

capturedAltitude: number = 0

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:85


glidepathCalculator​

readonly glidepathCalculator: GlidePathCalculator

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:111


onActivate()?​

optional onActivate: () => void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:75

A callback called when the manager is activated.

Returns​

void

Implementation of​

VNavManager.onActivate


onDeactivate()?​

optional onDeactivate: () => void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:77

A callback called when the manager is deactivated.

Returns​

void

Implementation of​

VNavManager.onDeactivate


onDisable()?​

optional onDisable: () => void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:73

A callback called when the manager is disabled.

Returns​

void


onEnable()?​

optional onEnable: () => void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:70

A callback called when the manager is enabled.

Returns​

void


pathArmedError​

readonly pathArmedError: Subject<boolean>

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:179


state​

state: VNavState = VNavState.Disabled

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:24

The current manager state.

Implementation of​

VNavManager.state

Methods​

canVerticalModeActivate()​

canVerticalModeActivate(mode): boolean

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:418

Parameters​

ParameterType
modeAPVerticalModes

Returns​

boolean

Inherit Doc​

Implementation of​

VNavManager.canVerticalModeActivate


onPathDirectorDeactivated()​

onPathDirectorDeactivated(): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:432

Returns​

void

Inherit Doc​

Implementation of​

VNavManager.onPathDirectorDeactivated


setState()​

setState(vnavState): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:356

Parameters​

ParameterType
vnavStateVNavState

Returns​

void

Inherit Doc​

Implementation of​

VNavManager.setState


tryActivate()​

tryActivate(): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:386

Returns​

void

Inherit Doc​

Implementation of​

VNavManager.tryActivate


tryDeactivate()​

tryDeactivate(newMode?): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:395

Parameters​

ParameterType
newMode?APVerticalModes

Returns​

void

Inherit Doc​

Implementation of​

VNavManager.tryDeactivate


update()​

update(): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:552

Updates the VNAV director.

Returns​

void

Implementation of​

VNavManager.update