Type Alias: APNavDirectorInterceptFunc()
APNavDirectorInterceptFunc = (
distanceToSource,deflection,xtk,tas,isLoc) =>number
Defined in: src/sdk/autopilot/directors/APNavDirector.ts:146
Calculates an intercept angle, in degrees, to capture the desired track from a navigation signal for APNavDirector.
Parameters
| Parameter | Type | Description |
|---|---|---|
distanceToSource | number | The distance from the plane to the source of the navigation signal, in nautical miles. |
deflection | number | The 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. |
xtk | number | The 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. |
tas | number | The true airspeed of the plane, in knots. |
isLoc | boolean | Whether the source of the navigation signal is a localizer. |
Returns
number
The intercept angle, in degrees, to capture the desired track from the navigation signal.