Skip to main content

Class: DefaultAoaDataProvider

Defined in: src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:76

A default implementation of AoaDataProvider.

Implements

Constructors

Constructor

new DefaultAoaDataProvider(bus, aoaIndex, adcIndex): DefaultAoaDataProvider

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

Constructor.

Parameters

ParameterTypeDescription
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

Properties

aoa

readonly aoa: Subscribable<number>

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

The current angle of attack, in degrees.

Implementation of

AoaDataProvider.aoa


isDataFailed

readonly isDataFailed: Subscribable<boolean>

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

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

Implementation of

AoaDataProvider.isDataFailed


isOnGround

readonly isOnGround: Subscribable<boolean>

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

Whether the airplane is on the ground.

Implementation of

AoaDataProvider.isOnGround


normAoa

readonly normAoa: Subscribable<number>

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

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


normAoaIasCoef

readonly normAoaIasCoef: Subscribable<null | number>

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

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


stallAoa

readonly stallAoa: Subscribable<number>

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

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

Implementation of

AoaDataProvider.stallAoa


zeroLiftAoa

readonly zeroLiftAoa: Subscribable<number>

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

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

Implementation of

AoaDataProvider.zeroLiftAoa

Methods

aoaToNormAoa()

aoaToNormAoa(aoa): number

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

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

ParameterTypeDescription
aoanumberAn absolute angle of attack value, in degrees.

Returns

number

The normalized equivalent of the specified angle of attack.

Implementation of

AoaDataProvider.aoaToNormAoa


destroy()

destroy(): void

Defined in: src/garminsdk/components/nextgenpfd/aoa/AoaDataProvider.ts:311

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


estimateIasFromAoa()

estimateIasFromAoa(aoa): number

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

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

ParameterTypeDescription
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


estimateIasFromNormAoa()

estimateIasFromNormAoa(normAoa): number

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

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

ParameterTypeDescription
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


init()

init(paused): void

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

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

Parameters

ParameterTypeDefault 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.


normAoaToAoa()

normAoaToAoa(normAoa): number

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

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

ParameterTypeDescription
normAoanumberA normalized angle of attack value.

Returns

number

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

Implementation of

AoaDataProvider.normAoaToAoa


pause()

pause(): void

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

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.


resume()

resume(): void

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

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.