Skip to main content

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​

ParameterTypeDescription
allowPlusVWithoutSbasbooleanWhether to allow +V approach service levels when no SBAS is present.
allowApproachBaroVNavbooleanWhether to allow approach service levels requiring baro VNAV.
allowRnpArbooleanWhether to allow RNP (AR) approach service levels.
gpsSystemStateSubscribable<GPSSystemState>The current GPS system state.
approachDetailsSubscribable<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​

GlidepathServiceLevel

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​

ParameterTypeDescription
serviceLevelGlidepathServiceLevelThe service level to check.

Returns​

boolean

True if baro guidance is required, false otherwise.