Skip to main content

Class: GpsStatusDataProvider

A data provider that provides GPS status.

Constructors

constructor

new GpsStatusDataProvider(bus, index): GpsStatusDataProvider

Creates an instance of the GpsDataProvider.

Parameters

NameTypeDescription
busEventBusThe event bus to use with this instance.
indexnumberThe GPS system index that this provider will track.

Returns

GpsStatusDataProvider

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:108

Properties

activeSatellites

Readonly activeSatellites: SubscribableArray<GpsSatelliteData>

The current satellites.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:45


altitude

Readonly altitude: Subscribable<NumberUnitInterface<Distance, Unit<Distance>>>

The current GPS altitude, or NaN if a GPS fix is not available.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:77


groundSpeed

Readonly groundSpeed: Subscribable<NumberUnitInterface<Speed, Unit<Speed>>>

The current GPS ground speed, or NaN if a GPS fix is not available.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:81


groundTrack

Readonly groundTrack: Subscribable<NumberUnitInterface<"navangle", Unit<"navangle">>>

The current GPS ground track, or NaN if a GPS fix is not available.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:85


hdop

Readonly hdop: Subscribable<number>

The current GPS receiver HDOP.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:61


index

Readonly index: number

The GPS system index that this provider will track.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:108


numInUseSatellites

Readonly numInUseSatellites: Subscribable<number>

The number of active tracking satellites.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:49


pdop

Readonly pdop: Subscribable<number>

The current GPS receiver PDOP.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:57


position

Readonly position: Subscribable<GeoPointInterface>

The current GPS position. Both lat and lon will be NaN if a GPS fix is not available.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:69


positionsCalculated

Readonly positionsCalculated: ReadonlySubEvent<GpsStatusDataProvider, void>

An event that fires when the satellite positions are calculated.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:53


receiverState

Readonly receiverState: Subscribable<AvionicsSystemState>

The current GPS receiver state.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:33


sbasState

Readonly sbasState: Subscribable<GPSSystemSBASState>

The current GPS system SBAS state.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:41


systemState

Readonly systemState: Subscribable<GPSSystemState>

The current GPS system state.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:37


time

Readonly time: Subscribable<number>

The current time, as a UNIX timestamp in milliseconds.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:73


vdop

Readonly vdop: Subscribable<number>

The current GPS receiver VDOP.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:65

Methods

destroy

destroy(): void

Destroys the data provider.

Returns

void

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:202


init

init(): void

Initializes this data provider. Once initialized, 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/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/GpsStatus/GpsStatusDataProvider.ts:116