Class: GlidepathServiceLevelCalculator
Defined in: src/garminsdk/autopilot/GlidepathServiceLevelCalculator.ts:9
A calculator for providing the glidepath service level.
Constructors
Constructor
new GlidepathServiceLevelCalculator(
allowPlusVWithoutSbas
,allowApproachBaroVNav
,allowRnpAr
,gpsSystemState
,approachDetails
):GlidepathServiceLevelCalculator
Defined in: src/garminsdk/autopilot/GlidepathServiceLevelCalculator.ts:19
Creates an instance of the GlidepathServiceLevelCalculator.
Parameters
Parameter | Type | Description |
---|---|---|
allowPlusVWithoutSbas | boolean | Whether to allow +V approach service levels when no SBAS is present. |
allowApproachBaroVNav | boolean | Whether to allow approach service levels requiring baro VNAV. |
allowRnpAr | boolean | Whether to allow RNP (AR) approach service levels. |
gpsSystemState | Subscribable <GPSSystemState > | The current GPS system state. |
approachDetails | Subscribable <ApproachDetails > | The currently selected approach details. |
Returns
GlidepathServiceLevelCalculator
Methods
getServiceLevel()
getServiceLevel():
GlidepathServiceLevel
Defined in: src/garminsdk/autopilot/GlidepathServiceLevelCalculator.ts:31
Gets the current glidepath service level from the calculator.
Returns
The current glidepath service level.
isBaroServiceLevel()
isBaroServiceLevel(
serviceLevel
):boolean
Defined in: src/garminsdk/autopilot/GlidepathServiceLevelCalculator.ts:65
Checks a service level to see if baro guidance is required.
Parameters
Parameter | Type | Description |
---|---|---|
serviceLevel | GlidepathServiceLevel | The service level to check. |
Returns
boolean
True if baro guidance is required, false otherwise.