Skip to main content

Class: DefaultAirspeedIndicatorDataProvider

A default implementation of AirspeedIndicatorDataProvider.

Implements

Constructors

constructor

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

Constructor.

Parameters

NameTypeDefault 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.
trendInputSmoothingTaunumberDefaultAirspeedIndicatorDataProvider.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).
trendTrendSmoothingTaunumberDefaultAirspeedIndicatorDataProvider.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

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:234

Properties

airspeedAlerts

Readonly airspeedAlerts: Subscribable<number>

The current active airspeed alerts, as bitflags.

Implementation of

AirspeedIndicatorDataProvider.airspeedAlerts

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:164


iasKnots

Readonly iasKnots: Subscribable<number>

The current indicated airspeed, in knots.

Implementation of

AirspeedIndicatorDataProvider.iasKnots

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:121


iasTrend

Readonly iasTrend: Subscribable<number>

The current airspeed trend, in knots.

Implementation of

AirspeedIndicatorDataProvider.iasTrend

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:145


isAirspeedHoldActive

Readonly isAirspeedHoldActive: Subscribable<boolean>

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

Implementation of

AirspeedIndicatorDataProvider.isAirspeedHoldActive

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:160


isDataFailed

Readonly isDataFailed: Subscribable<boolean>

Whether airspeed data is in a failure state.

Implementation of

AirspeedIndicatorDataProvider.isDataFailed

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:179


isOverspeedProtectionActive

Readonly isOverspeedProtectionActive: Subscribable<boolean>

Whether autopilot overspeed protection is active.

Implementation of

AirspeedIndicatorDataProvider.isOverspeedProtectionActive

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:168


isUnderspeedProtectionActive

Readonly isUnderspeedProtectionActive: Subscribable<boolean>

Whether autopilot underspeed protection is active.

Implementation of

AirspeedIndicatorDataProvider.isUnderspeedProtectionActive

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:172


mach

Readonly mach: Subscribable<number>

The current mach number.

Implementation of

AirspeedIndicatorDataProvider.mach

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:129


machToKias

Readonly machToKias: Subscribable<number>

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

Implementation of

AirspeedIndicatorDataProvider.machToKias

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:133


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

AirspeedIndicatorDataProvider.normAoaIasCoef

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:175


overspeedThreshold

Readonly overspeedThreshold: Subscribable<number>

The current threshold for an overspeed condition.

Implementation of

AirspeedIndicatorDataProvider.overspeedThreshold

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:206


pressureAlt

Readonly pressureAlt: Subscribable<number>

The current pressure altitude, in feet.

Implementation of

AirspeedIndicatorDataProvider.pressureAlt

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:141


referenceIas

Readonly referenceIas: Subscribable<null | number>

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

Implementation of

AirspeedIndicatorDataProvider.referenceIas

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:149


referenceIsManual

Readonly referenceIsManual: Subscribable<boolean>

Whether the current reference airspeed was set manually.

Implementation of

AirspeedIndicatorDataProvider.referenceIsManual

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:157


referenceMach

Readonly referenceMach: Subscribable<null | number>

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

Implementation of

AirspeedIndicatorDataProvider.referenceMach

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:153


tasKnots

Readonly tasKnots: Subscribable<number>

The current true airspeed, in knots.

Implementation of

AirspeedIndicatorDataProvider.tasKnots

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:125


tasToIas

Readonly tasToIas: Subscribable<number>

The current conversion factor from true airspeed to indicated airspeed.

Implementation of

AirspeedIndicatorDataProvider.tasToIas

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:137

Methods

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/airspeed/AirspeedIndicatorDataProvider.ts:483


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

AirspeedIndicatorDataProvider.estimateIasFromNormAoa

Defined in

src/garminsdk/components/nextgenpfd/airspeed/AirspeedIndicatorDataProvider.ts:389


init

init(paused?): void

Initializes this data provider. Once initialized

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/airspeed/AirspeedIndicatorDataProvider.ts:289


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/airspeed/AirspeedIndicatorDataProvider.ts:438


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/airspeed/AirspeedIndicatorDataProvider.ts:398