Skip to main content

Class: DefaultAoaDataProvider

A default implementation of AoaDataProvider.

Implements

Constructors

constructor

new DefaultAoaDataProvider(bus, aoaIndex, adcIndex): DefaultAoaDataProvider

Constructor.

Parameters

NameTypeDescription
busEventBusThe event bus.
aoaIndexnumber | Subscribable<number>The index of the AoA computer that is the source of this provider's data.
adcIndexnumber | Subscribable<number>The index of the ADC that is the source of this provider's data.

Returns

DefaultAoaDataProvider

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:132

Properties

aoa

Readonly aoa: Subscribable<number>

The current angle of attack, in degrees.

Implementation of

AoaDataProvider.aoa

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:81


isDataFailed

Readonly isDataFailed: Subscribable<boolean>

Whether this provider's AoA data is in a failed state.

Implementation of

AoaDataProvider.isDataFailed

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:109


isOnGround

Readonly isOnGround: Subscribable<boolean>

Whether the airplane is on the ground.

Implementation of

AoaDataProvider.isOnGround

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:98


normAoa

Readonly normAoa: Subscribable<number>

The current normalized angle of attack. A value of 0 is equal to zero-lift AoA, and a value of 1 is equal to stall AoA.

Implementation of

AoaDataProvider.normAoa

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:85


normAoaIasCoef

Readonly normAoaIasCoef: Subscribable<null | number>

The correlation coefficient between a given normalized angle of attack and the estimated indicated airspeed in knots required to maintain level flight at that angle of attack for the current aircraft configuration and environment, or null if such a value cannot be calculated.

Implementation of

AoaDataProvider.normAoaIasCoef

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:105


stallAoa

Readonly stallAoa: Subscribable<number>

The current stall (critical) angle of attack, in degrees.

Implementation of

AoaDataProvider.stallAoa

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:89


zeroLiftAoa

Readonly zeroLiftAoa: Subscribable<number>

The current zero-lift angle of attack, in degrees.

Implementation of

AoaDataProvider.zeroLiftAoa

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:93

Methods

aoaToNormAoa

aoaToNormAoa(aoa): number

Converts an absolute angle of attack value in degrees to a normalized angle of attack value. Normalized angle of attack is defined such that 0 equals zero-lift AoA, and 1 equals stall AoA.

Parameters

NameTypeDescription
aoanumberAn absolute angle of attack value, in degrees.

Returns

number

The normalized equivalent of the specified angle of attack.

Implementation of

AoaDataProvider.aoaToNormAoa

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:197


destroy

destroy(): void

Destroys this data provider. Once destroyed, this data provider will no longer update its provided data, and can no longer be paused or resumed.

Returns

void

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:307


estimateIasFromAoa

estimateIasFromAoa(aoa): number

Estimates the indicated airspeed, in knots, required to maintain level flight at a given angle of attack value for the current aircraft configuration and environment.

Parameters

NameTypeDescription
aoanumberAn angle of attack value, in degrees.

Returns

number

The estimated indicated airspeed, in knots, required to maintain level flight at the specified angle of attack, or NaN if an estimate cannot be made.

Implementation of

AoaDataProvider.estimateIasFromAoa

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:209


estimateIasFromNormAoa

estimateIasFromNormAoa(normAoa): number

Estimates the indicated airspeed, in knots, required to maintain level flight at a given normalized angle of attack value for the current aircraft configuration and environment. Normalized angle of attack is defined such that 0 equals zero-lift AoA, and 1 equals stall AoA.

Parameters

NameTypeDescription
normAoanumberA normalized angle of attack value.

Returns

number

The estimated indicated airspeed, in knots, required to maintain level flight at the specified angle of attack, or NaN if an estimate cannot be made.

Implementation of

AoaDataProvider.estimateIasFromNormAoa

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:214


init

init(paused?): void

Initializes this data provider. Once initialized, this data provider will continuously update its data until paused or destroyed.

Parameters

NameTypeDefault valueDescription
pausedbooleanfalseWhether to initialize this data provider as paused. If true, this data provider will provide an initial set of data but will not update the provided data until it is resumed. Defaults to false.

Returns

void

Throws

Error if this data provider is dead.

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:148


normAoaToAoa

normAoaToAoa(normAoa): number

Converts a normalized angle of attack value to an absolute angle of attack value in degrees. Normalized angle of attack is defined such that 0 equals zero-lift AoA, and 1 equals stall AoA.

Parameters

NameTypeDescription
normAoanumberA normalized angle of attack value.

Returns

number

The absolute equivalent of the specified normalized angle of attack, in degrees.

Implementation of

AoaDataProvider.normAoaToAoa

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:203


pause

pause(): void

Pauses this data provider. Once paused, this data provider will not update its data until it is resumed.

Returns

void

Throws

Error if this data provider is dead.

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:252


resume

resume(): void

Resumes this data provider. Once resumed, this data provider will continuously update its data until paused or destroyed.

Returns

void

Throws

Error if this data provider is dead.

Defined in

src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:223