Type Alias: APAltCapDirectorCaptureFunc()
APAltCapDirectorCaptureFunc = (
targetAltitude,indicatedAltitude,initialFpa,tas) =>number
Defined in: src/sdk/autopilot/directors/APAltCapDirector.ts:42
A function which calculates a desired pitch angle, in degrees, to capture a target altitude.
Parameters
| Parameter | Type | Description |
|---|---|---|
targetAltitude | number | The altitude to capture, in feet. |
indicatedAltitude | number | The current indicated altitude, in feet. |
initialFpa | number | The flight path angle of the airplane, in degrees, when altitude capture was first activated. Positive values indicate a descending path. |
tas | number | The current true airspeed of the airplane, in knots. |
Returns
number
The desired pitch angle, in degrees, to capture the specified altitude. Positive values indicate nose-up pitch.