Skip to main content

Class: FlightPathCalculatorManager

A manager which automatically sets flight path calculator bank angles and airplane speed modes in response to autopilot Low Bank Mode and ADC/GPS data validity, respectively.

Constructors

constructor

new FlightPathCalculatorManager(bus, options): FlightPathCalculatorManager

Creates a new instance of FlightPathCalculatorManager.

Parameters

NameTypeDescription
busEventBusThe event bus.
optionsReadonly<FlightPathCalculatorManagerOptions>Options with which to configure the new manager.

Returns

FlightPathCalculatorManager

Defined in

src/garminsdk/flightplan/FlightPathCalculatorManager.ts:60

new FlightPathCalculatorManager(bus, isAdcDataValid, isGpsDataValid, maxBankAngle, lowBankAngle?): FlightPathCalculatorManager

Creates a new instance of FlightPathCalculatorManager.

Parameters

NameTypeDescription
busEventBusThe event bus.
isAdcDataValidundefined | Subscribable<boolean>Whether ADC data is valid, or undefined if flight path calculations do not use ADC data for calculating airplane speed.
isGpsDataValidundefined | Subscribable<boolean>Whether GPS data is valid, or undefined if flight path calculations do not use GPS data for calculating airplane speed.
maxBankAnglenumberThe maximum bank angle, in degrees, supported outside of Low Bank Mode.
lowBankAngle?numberThe maximum bank angle, in degrees, supported in Low Bank Mode. Defaults to maxBankAngle.

Returns

FlightPathCalculatorManager

Deprecated

Please use the constructor overload that accepts the options object instead.

Defined in

src/garminsdk/flightplan/FlightPathCalculatorManager.ts:75

Methods

destroy

destroy(): void

Destroys this manager.

Returns

void

Defined in

src/garminsdk/flightplan/FlightPathCalculatorManager.ts:177


init

init(): void

Initializes this manager. Once this manager is initialized, it will automatically set the maximum bank angle and airplane speed mode used by the flight path calculator.

Returns

void

Throws

Error if this manager has been destroyed.

Defined in

src/garminsdk/flightplan/FlightPathCalculatorManager.ts:120