Skip to main content

Type Alias: GlidePathCalculator2Options

GlidePathCalculator2Options = object

Defined in: src/sdk/autopilot/calculators/GlidePathCalculator2.ts:36

Configuration options for GlidePathCalculator2.

Properties

isEligibleReferenceLeg()?

optional isEligibleReferenceLeg: (leg, segment, segmentIndex, segmentLegIndex, plan) => boolean

Defined in: src/sdk/autopilot/calculators/GlidePathCalculator2.ts:50

A function which checks whether a candidate flight plan leg is eligible to host a glidepath reference point. If not defined, then all candidate legs will be considered eligible.

Parameters

ParameterTypeDescription
legLegDefinitionThe flight plan leg to check.
segmentFlightPlanSegmentThe flight plan segment containing the leg to check.
segmentIndexnumberThe index of the flight plan segment containing the leg to check.
segmentLegIndexnumberThe index of the leg to check within its containing segment.
planFlightPlanThe flight plan containing the leg to check.

Returns

boolean

Whether the specified flight plan leg is eligible to host a glidepath reference point.


planIndex

planIndex: number | Subscribable<number>

Defined in: src/sdk/autopilot/calculators/GlidePathCalculator2.ts:38

The index of the flight plan to track.