Skip to main content

Type Alias: APBackCourseDirectorPhaseSelectorFunc()

APBackCourseDirectorPhaseSelectorFunc = (currentPhase, deflection, xtk, course, track) => APBackCourseDirectorPhase

Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:151

Selects a phase for APBackCourseDirector to use while it is active and tracking a localizer signal.

Parameters

ParameterTypeDescription
currentPhaseAPBackCourseDirectorPhase | undefinedThe current phase, or undefined if no phase has been selected since the last time the director was activated.
deflectionnumberThe lateral deflection of the desired track relative to the plane, normalized from -1 to 1. Positive values indicate that the desired track is to the right of the plane.
xtknumberThe cross-track error of the plane from the desired track, in nautical miles. Positive values indicate that the plane is to the right of the track.
coursenumberThe true course of the desired track, in degrees.
tracknumberThe actual true ground track of the airplane, in degrees.

Returns

APBackCourseDirectorPhase

The phase to use while tracking the navigation signal.