Skip to main content

Interface: VNavManager

Defined in: src/sdk/autopilot/managers/VNavManager.ts:7

A Vertical Navigation Manager.

Properties

activateMode()?

optional activateMode: (mode) => void

Defined in: src/sdk/autopilot/managers/VNavManager.ts:46

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

Parameters

ParameterType
modeAPVerticalModes

Returns

void


armMode()?

optional armMode: (mode) => void

Defined in: src/sdk/autopilot/managers/VNavManager.ts:41

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

Parameters

ParameterType
modeAPVerticalModes

Returns

void


canVerticalModeActivate()

canVerticalModeActivate: (mode) => boolean

Defined in: src/sdk/autopilot/managers/VNavManager.ts:33

A callback called by the autopilot to check if a vertical mode can be activated.

Parameters

ParameterType
modeAPVerticalModes

Returns

boolean


onActivate()?

optional onActivate: () => void

Defined in: src/sdk/autopilot/managers/VNavManager.ts:49

A callback called when the manager is activated.

Returns

void


onDeactivate()?

optional onDeactivate: () => void

Defined in: src/sdk/autopilot/managers/VNavManager.ts:52

A callback called when the manager is deactivated.

Returns

void


onPathDirectorDeactivated()

onPathDirectorDeactivated: () => void

Defined in: src/sdk/autopilot/managers/VNavManager.ts:36

A callback called when the APVNavPathDirector Deactivates.

Returns

void


state

state: VNavState

Defined in: src/sdk/autopilot/managers/VNavManager.ts:55

The current manager state.

Methods

setState()

setState(vnavState): void

Defined in: src/sdk/autopilot/managers/VNavManager.ts:12

Sets the state of the manager.

Parameters

ParameterType
vnavStateVNavState

Returns

void


tryActivate()

tryActivate(): void

Defined in: src/sdk/autopilot/managers/VNavManager.ts:17

Tries to activate the manager.

Returns

void


tryDeactivate()

tryDeactivate(newMode?): void

Defined in: src/sdk/autopilot/managers/VNavManager.ts:23

Tries to deactivate the manager.

Parameters

ParameterTypeDescription
newMode?APVerticalModesIs the new mode to set active in the Autopilot if Path Mode is currently active.

Returns

void


update()

update(): void

Defined in: src/sdk/autopilot/managers/VNavManager.ts:28

Updates the manager.

Returns

void