Skip to main content

Class: DefaultAirspeedIndicatorDataProvider

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:35

A default implementation of AirspeedIndicatorDataProvider.

Extended by​

Implements​

Constructors​

Constructor​

new DefaultAirspeedIndicatorDataProvider(bus, adcIndex, options, aoaDataProvider?, trendInputSmoothingTau?, trendTrendSmoothingTau?): DefaultAirspeedIndicatorDataProvider

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:159

Constructor.

Parameters​

ParameterTypeDefault valueDescription
busEventBusundefinedThe event bus.
adcIndexnumber | Subscribable<number>undefinedThe index of the ADC that is the source of this provider's data.
optionsReadonly<AirspeedIndicatorDataProviderOptions>undefinedConfiguration options for this provider.
aoaDataProvider?AirspeedAoaDataProviderundefinedA provider of angle of attack data.
trendInputSmoothingTau?numberDefaultAirspeedIndicatorDataProvider.DEFAULT_IAS_TREND_INPUT_SMOOTHING_TAUThe smoothing time constant, in milliseconds, to apply to the IAS lookahead trend's input values. Defaults to 2000 / ln(2).
trendTrendSmoothingTau?numberDefaultAirspeedIndicatorDataProvider.DEFAULT_IAS_TREND_TREND_SMOOTHING_TAUThe smoothing time constant, in milliseconds, to apply to the IAS lookahead trend values. Defaults to 1000 / ln(2).

Returns​

DefaultAirspeedIndicatorDataProvider

Properties​

airspeedAlerts​

readonly airspeedAlerts: Subscribable<number>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:85

The current active airspeed alerts, as bitflags.

Implementation of​

AirspeedIndicatorDataProvider.airspeedAlerts


bus​

readonly bus: EventBus

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:160

The event bus.

Implementation of​

AirspeedIndicatorDataProvider.bus


iasKnots​

readonly iasKnots: Subscribable<number>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:42

The current indicated airspeed, in knots.

Implementation of​

AirspeedIndicatorDataProvider.iasKnots


iasTrend​

readonly iasTrend: Subscribable<number>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:66

The current airspeed trend, in knots.

Implementation of​

AirspeedIndicatorDataProvider.iasTrend


isAirspeedHoldActive​

readonly isAirspeedHoldActive: Subscribable<boolean>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:81

Whether an airspeed hold mode is active on the flight director.

Implementation of​

AirspeedIndicatorDataProvider.isAirspeedHoldActive


isDataFailed​

readonly isDataFailed: Subscribable<boolean>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:100

Whether airspeed data is in a failure state.

Implementation of​

AirspeedIndicatorDataProvider.isDataFailed


isOverspeedProtectionActive​

readonly isOverspeedProtectionActive: Subscribable<boolean>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:89

Whether autopilot overspeed protection is active.

Implementation of​

AirspeedIndicatorDataProvider.isOverspeedProtectionActive


isUnderspeedProtectionActive​

readonly isUnderspeedProtectionActive: Subscribable<boolean>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:93

Whether autopilot underspeed protection is active.

Implementation of​

AirspeedIndicatorDataProvider.isUnderspeedProtectionActive


mach​

readonly mach: Subscribable<number>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:50

The current mach number.

Implementation of​

AirspeedIndicatorDataProvider.mach


machToKias​

readonly machToKias: Subscribable<number>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:54

The current conversion factor from mach number to knots indicated airspeed.

Implementation of​

AirspeedIndicatorDataProvider.machToKias


normAoaIasCoef​

readonly normAoaIasCoef: Subscribable<number | null>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:96

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​

AirspeedIndicatorDataProvider.normAoaIasCoef


overspeedThreshold​

readonly overspeedThreshold: Subscribable<number>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:128

The current threshold for an overspeed condition.

Implementation of​

AirspeedIndicatorDataProvider.overspeedThreshold


pressureAlt​

readonly pressureAlt: Subscribable<number>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:62

The current pressure altitude, in feet.

Implementation of​

AirspeedIndicatorDataProvider.pressureAlt


referenceIas​

readonly referenceIas: Subscribable<number | null>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:70

The current reference indicated airspeed, or null if no such value exists.

Implementation of​

AirspeedIndicatorDataProvider.referenceIas


referenceIsManual​

readonly referenceIsManual: Subscribable<boolean>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:78

Whether the current reference airspeed was set manually.

Implementation of​

AirspeedIndicatorDataProvider.referenceIsManual


referenceMach​

readonly referenceMach: Subscribable<number | null>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:74

The current reference mach number, or null if no such value exists.

Implementation of​

AirspeedIndicatorDataProvider.referenceMach


tasKnots​

readonly tasKnots: Subscribable<number>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:46

The current true airspeed, in knots.

Implementation of​

AirspeedIndicatorDataProvider.tasKnots


tasToIas​

readonly tasToIas: Subscribable<number>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:58

The current conversion factor from true airspeed to indicated airspeed.

Implementation of​

AirspeedIndicatorDataProvider.tasToIas


underspeedThreshold​

readonly underspeedThreshold: Subscribable<number>

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:132

The current threshold for an underspeed condition.

Implementation of​

AirspeedIndicatorDataProvider.underspeedThreshold

Methods​

destroy()​

destroy(): void

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:411

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


estimateIasFromNormAoa()​

estimateIasFromNormAoa(normAoa): number

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:317

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​

AirspeedIndicatorDataProvider.estimateIasFromNormAoa


init()​

init(paused): void

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:217

Initializes this data provider. Once initialized

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.


pause()​

pause(): void

Defined in: src/garminsdk/components/nextgenpfd/airspeed/DefaultAirspeedIndicatorDataProvider.ts:366

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/airspeed/DefaultAirspeedIndicatorDataProvider.ts:326

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.