Class: GtcDefaultPositionHeadingDataProvider
A default implementation of GtcPositionHeadingDataProvider.
Implements
Constructors
constructor
• new GtcDefaultPositionHeadingDataProvider(bus
, fmsPosIndex
, ahrsIndex
, updateFreq
): GtcDefaultPositionHeadingDataProvider
Constructor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
fmsPosIndex | number | Subscribable <number > | The index of the FMS geo-positioning system that is the source of this provider's data. |
ahrsIndex | number | Subscribable <number > | The index of the AHRS that is the source of this provider's data. |
updateFreq | number | The frequency at which this provider updates its position and heading data. |
Returns
GtcDefaultPositionHeadingDataProvider
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Navigation/GtcPositionHeadingDataProvider.ts:87
Properties
headingTrue
• Readonly
headingTrue: Subscribable
<number
>
The current true heading of the airplane, in degrees.
Implementation of
GtcPositionHeadingDataProvider.headingTrue
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Navigation/GtcPositionHeadingDataProvider.ts:47
headingTrueWithFailure
• Readonly
headingTrueWithFailure: Subscribable
<number
>
The current true heading of the airplane, in degrees, or NaN
when heading data is in a failed state.
Implementation of
GtcPositionHeadingDataProvider.headingTrueWithFailure
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Navigation/GtcPositionHeadingDataProvider.ts:51
isGpsDataFailed
• Readonly
isGpsDataFailed: Subscribable
<boolean
>
Whether GPS data is in a failed state.
Implementation of
GtcPositionHeadingDataProvider.isGpsDataFailed
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Navigation/GtcPositionHeadingDataProvider.ts:65
isGpsDeadReckoning
• Readonly
isGpsDeadReckoning: Subscribable
<boolean
>
Whether GPS position is in dead reckoning mode.
Implementation of
GtcPositionHeadingDataProvider.isGpsDeadReckoning
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Navigation/GtcPositionHeadingDataProvider.ts:60
isHeadingDataFailed
• Readonly
isHeadingDataFailed: Subscribable
<boolean
>
Whether this provider's heading data is in a failed state.
Implementation of
GtcPositionHeadingDataProvider.isHeadingDataFailed
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Navigation/GtcPositionHeadingDataProvider.ts:55
ppos
• Readonly
ppos: Subscribable
<GeoPointInterface
>
The current position of the airplane.
Implementation of
GtcPositionHeadingDataProvider.ppos
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Navigation/GtcPositionHeadingDataProvider.ts:39
pposWithFailure
• Readonly
pposWithFailure: Subscribable
<GeoPointInterface
>
The current position of the airplane, or (NaN, NaN)
when GPS data is in a failed state.
Implementation of
GtcPositionHeadingDataProvider.pposWithFailure
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Navigation/GtcPositionHeadingDataProvider.ts:43
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
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Navigation/GtcPositionHeadingDataProvider.ts:214
init
▸ init(paused?
): void
Initializes this data provider. Once initialized, this data provider will continuously update its data until paused or destroyed.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
paused | boolean | false | Whether 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
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Navigation/GtcPositionHeadingDataProvider.ts:104
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
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Navigation/GtcPositionHeadingDataProvider.ts:187
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
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Navigation/GtcPositionHeadingDataProvider.ts:162