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
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
options | Readonly <FlightPathCalculatorManagerOptions > | Options with which to configure the new manager. |
Returns
Defined in
src/garminsdk/flightplan/FlightPathCalculatorManager.ts:60
• new FlightPathCalculatorManager(bus
, isAdcDataValid
, isGpsDataValid
, maxBankAngle
, lowBankAngle?
): FlightPathCalculatorManager
Creates a new instance of FlightPathCalculatorManager.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
isAdcDataValid | undefined | Subscribable <boolean > | Whether ADC data is valid, or undefined if flight path calculations do not use ADC data for calculating airplane speed. |
isGpsDataValid | undefined | Subscribable <boolean > | Whether GPS data is valid, or undefined if flight path calculations do not use GPS data for calculating airplane speed. |
maxBankAngle | number | The maximum bank angle, in degrees, supported outside of Low Bank Mode. |
lowBankAngle? | number | The maximum bank angle, in degrees, supported in Low Bank Mode. Defaults to maxBankAngle . |
Returns
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