Skip to main content

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

NameTypeDescription
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

Defined in

src/garminsdk/autopilot/GlidepathServiceLevelCalculator.ts:19

Methods

getServiceLevel

getServiceLevel(): GlidepathServiceLevel

Gets the current glidepath service level from the calculator.

Returns

GlidepathServiceLevel

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

NameTypeDescription
serviceLevelGlidepathServiceLevelThe service level to check.

Returns

boolean

True if baro guidance is required, false otherwise.

Defined in

src/garminsdk/autopilot/GlidepathServiceLevelCalculator.ts:65