Class: Epic2VNavManager
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:22
An Epic2 VNav Manager.
Implements
Constructors
Constructor
new Epic2VNavManager(
bus
,flightPlanner
,calculator
,performancePlan
,apValues
,primaryPlanIndex
,facLoader
,predictionFunctions
):Epic2VNavManager
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:223
Creates an instance of the VNAV director.
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | The event bus to use with this instance. |
flightPlanner | FlightPlanner | The flight planner to use with this instance. |
calculator | VNavPathCalculator | The VNAV path calculator to use with this instance. |
performancePlan | Epic2PerformancePlan | Perforance Plan |
apValues | APValues | are the autopilot ap values. |
primaryPlanIndex | number | The index of the flightplan to follow vertical guidance from. |
facLoader | FacilityLoader | The facility loader |
predictionFunctions | Epic2VerticalPredictionFunctions | An 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:84
A callback called by the autopilot to activate the supplied vertical mode.
Parameters
Parameter | Type |
---|---|
mode | number |
Returns
void
Implementation of
armMode()?
optional
armMode: (mode
) =>void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:81
A callback called by the autopilot to arm the supplied vertical mode.
Parameters
Parameter | Type |
---|---|
mode | number |
Returns
void
Implementation of
calculator
readonly
calculator:VNavPathCalculator
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:225
The VNAV path calculator to use with this instance.
capturedAltitude
capturedAltitude:
number
=0
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:86
glidepathCalculator
readonly
glidepathCalculator:GlidePathCalculator
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:112
onActivate()?
optional
onActivate: () =>void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:76
A callback called when the manager is activated.
Returns
void
Implementation of
onDeactivate()?
optional
onDeactivate: () =>void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:78
A callback called when the manager is deactivated.
Returns
void
Implementation of
onDisable()?
optional
onDisable: () =>void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:74
A callback called when the manager is disabled.
Returns
void
onEnable()?
optional
onEnable: () =>void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:71
A callback called when the manager is enabled.
Returns
void
pathArmedError
readonly
pathArmedError:Subject
<boolean
>
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:180
state
state:
VNavState
=VNavState.Disabled
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:25
The current manager state.
Implementation of
Methods
canVerticalModeActivate()
canVerticalModeActivate(
mode
):boolean
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:419
Parameters
Parameter | Type |
---|---|
mode | number |
Returns
boolean
Inherit Doc
Implementation of
VNavManager
.canVerticalModeActivate
onPathDirectorDeactivated()
onPathDirectorDeactivated():
void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:433
Returns
void
Inherit Doc
Implementation of
VNavManager
.onPathDirectorDeactivated
setState()
setState(
vnavState
):void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:357
Sets the state of the manager.
Parameters
Parameter | Type |
---|---|
vnavState | VNavState |
Returns
void
Implementation of
tryActivate()
tryActivate():
void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:387
Tries to activate the manager.
Returns
void
Implementation of
tryDeactivate()
tryDeactivate(
newMode?
):void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:396
Tries to deactivate the manager.
Parameters
Parameter | Type | Description |
---|---|---|
newMode? | number | Is the new mode to set active in the Autopilot if Path Mode is currently active. |
Returns
void
Implementation of
update()
update():
void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2VNavManager.ts:553
Updates the VNAV director.
Returns
void