Type Alias: APGSDirectorVsTargetFunc()
APGSDirectorVsTargetFunc = (
gsAngleError,gsAngle,currentAngleRate,distance,height,groundSpeed,vs) =>number
Defined in: src/sdk/autopilot/directors/APGSDirector.ts:95
A function which calculates a desired vertical speed to target, in feet per minute, to track a glideslope.
Parameters
| Parameter | Type | Description |
|---|---|---|
gsAngleError | number | The glideslope angle error, in degrees, defined as the difference between the angle from the glideslope antenna to the airplane and the glideslope angle. Positive values indicate deviation of the airplane above the glideslope. |
gsAngle | number | The glideslope angle, in degrees. |
currentAngleRate | number | The current rate of change of glideslope angle error, in degrees per second. |
distance | number | The lateral distance from the airplane to the glideslope antenna, in meters. |
height | number | The height of the airplane above the glideslope antenna, in meters. |
groundSpeed | number | The airplane's current ground speed, in meters per second. |
vs | number | The airplane's current vertical speed, in meters per second. |
Returns
number
The desired vertical speed to target, in feet per minute.