Skip to main content

Class: DefaultHsiDataProvider

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:69

A default implementation of HsiDataProvider.

Implements

Constructors

Constructor

new DefaultHsiDataProvider(bus, ahrsIndex, fmsPosIndex, activeNavIndicator, approachPreviewIndicator, bearing1Indicator, bearing2Indicator): DefaultHsiDataProvider

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:146

Constructor.

Parameters

ParameterTypeDescription
busEventBusThe event bus.
ahrsIndexnumber | Subscribable<number>The index of the ADC that is the source of this provider's data.
fmsPosIndexnumber | Subscribable<number>The index of the FMS geo-positioning system that is the source of this provider's data.
activeNavIndicatorG3000NavIndicatorThe nav indicator for the active nav source.
approachPreviewIndicatorG3000NavIndicatorThe nav indicator for the approach course preview.
bearing1IndicatorG3000NavIndicatorThe nav indicator for bearing pointer 1.
bearing2IndicatorG3000NavIndicatorThe nav indicator for bearing pointer 2.

Returns

DefaultHsiDataProvider

Properties

activeNavIndicator

readonly activeNavIndicator: G3000NavIndicator

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:150

The nav indicator for the active nav source.

Implementation of

HsiDataProvider.activeNavIndicator


approachPreviewIndicator

readonly approachPreviewIndicator: G3000NavIndicator

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:151

The nav indicator for the approach course preview.

Implementation of

HsiDataProvider.approachPreviewIndicator


bearing1Indicator

readonly bearing1Indicator: G3000NavIndicator

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:152

The nav indicator for bearing pointer 1.

Implementation of

HsiDataProvider.bearing1Indicator


bearing2Indicator

readonly bearing2Indicator: G3000NavIndicator

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:153

The nav indicator for bearing pointer 2.

Implementation of

HsiDataProvider.bearing2Indicator


headingMag

readonly headingMag: Subscribable<number>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:72

The current magnetic heading, in degrees.

Implementation of

HsiDataProvider.headingMag


isGpsDataFailed

readonly isGpsDataFailed: Subscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:123

Whether GPS data is in a failure state.

Implementation of

HsiDataProvider.isGpsDataFailed


isHdgSyncModeActive

readonly isHdgSyncModeActive: Subscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:97

Whether HDG sync mode is active.

Implementation of

HsiDataProvider.isHdgSyncModeActive


isHeadingDataFailed

readonly isHeadingDataFailed: Subscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:119

Whether heading data is in a failure state.

Implementation of

HsiDataProvider.isHeadingDataFailed


readonly lnavXtk: Subscribable<null | number>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:102

The current LNAV cross-track error, in nautical miles, or null if LNAV is not tracking a path.

Implementation of

HsiDataProvider.lnavXtk


magVar

readonly magVar: Subscribable<number>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:89

The magnetic variation at the plane's current position, in degrees.

Implementation of

HsiDataProvider.magVar


obsCourse

readonly obsCourse: Subscribable<number>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:115

The current magnetic OBS course, in degrees.

Implementation of

HsiDataProvider.obsCourse


obsSuspMode

readonly obsSuspMode: Subscribable<ObsSuspModes>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:113

The current LNAV OBS/suspend mode.

Implementation of

HsiDataProvider.obsSuspMode


position

readonly position: Subscribable<GeoPointInterface>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:85

The current position of the plane.

Implementation of

HsiDataProvider.position


selectedHeadingMag

readonly selectedHeadingMag: Subscribable<number>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:93

The current selected magnetic heading, in degrees.

Implementation of

HsiDataProvider.selectedHeadingMag


trackMag

readonly trackMag: Subscribable<number>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:81

The current magnetic ground track, in degrees.

Implementation of

HsiDataProvider.trackMag


turnRate

readonly turnRate: Subscribable<number>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:76

The current turn rate, in degrees per second.

Implementation of

HsiDataProvider.turnRate

Methods

destroy()

destroy(): void

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:308

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


init()

init(paused): void

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:166

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.


pause()

pause(): void

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:272

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: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/HsiDataProvider.ts:236

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.