Class: Epic2APUtils
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2APUtils.ts:6
A utility class for working with Epic2 autopilots.
Constructors
Constructor
new Epic2APUtils():
Epic2APUtils
Returns
Epic2APUtils
Methods
lnavInterceptCurve()
static
lnavInterceptCurve(dtk
,xtk
,tas
):number
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2APUtils.ts:34
Calculates intercept angles for LNAV.
Parameters
Parameter | Type | Description |
---|---|---|
dtk | number | The desired track, in degrees true. |
xtk | number | The cross-track error, in nautical miles. Negative values indicate that the plane is to the left of the desired track. |
tas | number | The true airspeed of the plane, in knots. |
Returns
number
The intercept angle, in degrees, to capture the desired track from the navigation signal.
localizerInterceptCurve()
static
localizerInterceptCurve(deflection
,xtk
,tas
):number
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2APUtils.ts:47
Calculates intercept angles for localizers.
Parameters
Parameter | Type | Description |
---|---|---|
deflection | number | The lateral deflection of the desired track relative to the plane, normalized from -1 to 1 . Negative values indicate that the desired track is to the left of the plane. |
xtk | number | The cross-track error of the plane from the desired track, in nautical miles. Positive values indicate indicate that the plane is to the right of the track. |
tas | number | The true airspeed of the plane, in knots. |
Returns
number
The intercept angle, in degrees, to capture the localizer course.
navInterceptCurve()
static
navInterceptCurve(distanceToSource
,deflection
,xtk
,tas
,isLoc?
):number
Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2APUtils.ts:18
Calculates intercept angles for radio nav.
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 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. Defaults to false . |
Returns
number
The intercept angle, in degrees, to capture the desired track from the navigation signal.