Skip to main content

Class: GarminLowBankManager

A manager which handles activation and deactivation of Low Bank Mode for Garmin autopilots. The manager ensures that Low Bank Mode is active only when supported by the autopilot's active lateral mode. Optionally, it will also automatically toggle Low Bank Mode in response to changes in indicated altitude.

Constructors

constructor

new GarminLowBankManager(bus, activateAltitude?, deactivateAltitude?, supportedAdcIndexes?, autoToggleBankLimit?, supportedAhrsIndexes?): GarminLowBankManager

Creates a new instance of GarminLowBankManager. The new manager is created as uninitialized and with auto-toggle paused.

Parameters

NameTypeDefault valueDescription
busEventBusundefinedThe event bus.
activateAltitude?numberundefinedThe indicated altitude threshold, in feet, for automatic activation of low-bank mode. If defined and auto-toggle is supported, this manager will automatically activate low-bank mode when the airplane climbs from below to above this altitude.
deactivateAltitude?numberundefinedThe indicated altitude threshold, in feet, for automatic deactivation of low-bank mode. If defined and auto-toggle is supported, this manager will automatically deactivate low-bank mode when the airplane descends from above to below this altitude.
supportedAdcIndexes?Iterable<number>undefinedAn iterable of ADC system indexes from which the manager can source indicated altitude data. Required for auto-toggle behavior. The manager will source data from the first ADC system (in the order returned by the iterable) whose state is equal to AvionicsSystemState.On.
autoToggleBankLimitnumber0The bank angle, in degrees, above which auto-toggle is disabled.
supportedAhrsIndexes?Iterable<number>undefinedAn iterable of AHRS system indexes from which the manager can source bank angle data. Required for auto-toggle behavior to be limited by aircraft bank. The manager will source data from the first AHRS system (in the order returned by the iterable) whose state is equal to AvionicsSystemState.On.

Returns

GarminLowBankManager

Throws

Error if activateAltitude is less than deactivateAltitude.

Defined in

src/garminsdk/autopilot/GarminLowBankManager.ts:79

Methods

destroy

destroy(): void

Destroys this manager.

Returns

void

Defined in

src/garminsdk/autopilot/GarminLowBankManager.ts:320


init

init(): Promise<void>

Initializes this manager. Once this manager is initialized, it will ensure that Low Bank Mode is active only when it is supported by the autopilot's active lateral mode. Additionally, it will automatically toggle Low Bank Mode in response to changes in indicated altitude if the function is supported and resumed.

Returns

Promise<void>

Throws

Error if this manager has been destroyed.

Defined in

src/garminsdk/autopilot/GarminLowBankManager.ts:123


pauseAutoToggle

pauseAutoToggle(): void

Pauses this manager's auto-toggle behavior. Once paused, this manager will no longer automatically activate/deactivate Low Bank Mode until auto-toggle is resumed.

Returns

void

Throws

Error if this manager has been destroyed.

Defined in

src/garminsdk/autopilot/GarminLowBankManager.ts:227


resumeAutoToggle

resumeAutoToggle(): void

Resumes this manager's auto-toggle behavior. Once resumed, this manager will automatically activate/deactivate Low Bank Mode based on changes in indicated altitude. If this manager has not been initialized, auto-toggle behavior will begin when initialization is complete.

Returns

void

Throws

Error if this manager has been destroyed.

Defined in

src/garminsdk/autopilot/GarminLowBankManager.ts:207


setLowBankActive

setLowBankActive(active): void

Sets the active state of Low Bank Mode.

Parameters

NameTypeDescription
activebooleanWhether to activate Low Bank Mode.

Returns

void

Defined in

src/garminsdk/autopilot/GarminLowBankManager.ts:246