Class: GlidepathServiceLevelCalculator
A calculator for providing the glidepath service level.
Constructors
constructor
• new GlidepathServiceLevelCalculator(allowPlusVWithoutSbas
, allowApproachBaroVNav
, allowRnpAr
, gpsSystemState
, approachDetails
): GlidepathServiceLevelCalculator
Creates an instance of the GlidepathServiceLevelCalculator.
Parameters
Name | 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
Defined in
src/garminsdk/autopilot/GlidepathServiceLevelCalculator.ts:19
Methods
getServiceLevel
▸ getServiceLevel(): GlidepathServiceLevel
Gets the current glidepath service level from the calculator.
Returns
The current glidepath service level.
Defined in
src/garminsdk/autopilot/GlidepathServiceLevelCalculator.ts:31
isBaroServiceLevel
▸ isBaroServiceLevel(serviceLevel
): boolean
Checks a service level to see if baro guidance is required.
Parameters
Name | Type | Description |
---|---|---|
serviceLevel | GlidepathServiceLevel | The service level to check. |
Returns
boolean
True if baro guidance is required, false otherwise.
Defined in
src/garminsdk/autopilot/GlidepathServiceLevelCalculator.ts:65