Type Alias: GlidePathCalculator2Options
GlidePathCalculator2Options =
object
Defined in: src/sdk/autopilot/calculators/GlidePathCalculator2.ts:36
Configuration options for GlidePathCalculator2.
Properties
isEligibleReferenceLeg()?
optionalisEligibleReferenceLeg: (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
| Parameter | Type | Description |
|---|---|---|
leg | LegDefinition | The flight plan leg to check. |
segment | FlightPlanSegment | The flight plan segment containing the leg to check. |
segmentIndex | number | The index of the flight plan segment containing the leg to check. |
segmentLegIndex | number | The index of the leg to check within its containing segment. |
plan | FlightPlan | The 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.