Class: APExternalGuidanceProvider
A provider of external autopilot guidance data. Data are sourced from indexed SimVars whose roots are defined in
APExternalGpsSteerCommandSimVars
, APExternalVNavGuidanceSimVars
, APExternalVerticalPathGuidanceSimVars
, and
APExternalGlidepathGuidanceSimVars
.
Constructors
constructor
• new APExternalGuidanceProvider(index
, options?
): APExternalGuidanceProvider
Creates a new instance of APExternalGuidanceProvider.
Parameters
Name | Type | Description |
---|---|---|
index | number | The index of the guidance SimVars from which this provider sources data. |
options? | Readonly <APExternalGuidanceProviderOptions > | Options with which to configure the provider. |
Returns
Throws
Error if index
is not a non-negative integer.
Defined in
src/garminsdk/autopilot/data/APExternalGuidanceProvider.ts:98
Accessors
glidepathGuidance
• get
glidepathGuidance(): Readonly
<GarminVNavGlidepathGuidance
>
The current external glidepath guidance.
Returns
Readonly
<GarminVNavGlidepathGuidance
>
Defined in
src/garminsdk/autopilot/data/APExternalGuidanceProvider.ts:88
gpsSteerCommand
• get
gpsSteerCommand(): Readonly
<APGpsSteerDirectorSteerCommand
>
The current external GPS steer command.
Returns
Readonly
<APGpsSteerDirectorSteerCommand
>
Defined in
src/garminsdk/autopilot/data/APExternalGuidanceProvider.ts:48
verticalPathGuidance
• get
verticalPathGuidance(): Readonly
<GarminVNavPathGuidance
>
The current external vertical path guidance.
Returns
Readonly
<GarminVNavPathGuidance
>
Defined in
src/garminsdk/autopilot/data/APExternalGuidanceProvider.ts:75
vnavGuidance
• get
vnavGuidance(): Readonly
<GarminVNavGuidance
>
The current external VNAV guidance.
Returns
Readonly
<GarminVNavGuidance
>
Defined in
src/garminsdk/autopilot/data/APExternalGuidanceProvider.ts:64
Methods
update
▸ update(): void
Updates this provider's data.
Returns
void
Defined in
src/garminsdk/autopilot/data/APExternalGuidanceProvider.ts:125