Skip to main content

Type Alias: APGSDirectorAngleClosureRateFunc()

APGSDirectorAngleClosureRateFunc = (gsAngleError, gsAngle, currentAngleRate, distance, height, groundSpeed, vs) => number

Defined in: src/sdk/autopilot/directors/APGSDirector.ts:72

A function which calculates a desired angle closure rate, in degrees per second, to track a glideslope. The angle closure rate is the rate of reduction of glideslope angle error. Positive values reduce glideslope angle error while negative values increase glideslope angle error.

Parameters

ParameterTypeDescription
gsAngleErrornumberThe 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.
gsAnglenumberThe glideslope angle, in degrees.
currentAngleRatenumberThe current rate of change of glideslope angle error, in degrees per second.
distancenumberThe lateral distance from the airplane to the glideslope antenna, in meters.
heightnumberThe height of the airplane above the glideslope antenna, in meters.
groundSpeednumberThe airplane's current ground speed, in meters per second.
vsnumberThe airplane's current vertical speed, in meters per second.

Returns

number

The desired angle closure rate, in degrees per second, toward the glideslope.