Type Alias: APBackCourseDirectorOptions
APBackCourseDirectorOptions =
object
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:162
Options for APBackCourseDirector.
Properties
bankRate?
optionalbankRate:number| () =>number
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:188
The bank rate to enforce when the director commands changes in bank angle, in degrees per second, or a function
which returns it. If not defined, a default bank rate will be used. Defaults to undefined.
bankRateIntercept?
optionalbankRateIntercept:number| () =>number
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:195
The bank rate to enforce when the director commands changes in bank angle during intercept phase, in degrees per
second, or a function which returns it. If not defined, the bank rate defined by bankRate will be used.
Defaults to undefined.
bankRateTracking?
optionalbankRateTracking:number| () =>number
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:202
The bank rate to enforce when the director commands changes in bank angle during tracking phase, in degrees per
second, or a function which returns it. If not defined, the bank rate defined by bankRate will be used.
Defaults to undefined.
canActivate()?
optionalcanActivate: (apValues,navData) =>boolean
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:219
A function that checks whether the director can be activated from an armed state. If not defined, then default logic will be used.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | Autopilot values from the director's parent autopilot. |
navData | Readonly<APBackCourseDirectorNavData> | The current radio navigation data received by the director. |
Returns
boolean
Whether the director can be activated from an armed state.
canArm()?
optionalcanArm: (apValues,navData) =>boolean
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:210
A function that checks whether the director can be armed. If not defined, then default logic will be used.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | Autopilot values from the director's parent autopilot. |
navData | Readonly<APBackCourseDirectorNavData> | The current radio navigation data received by the director. |
Returns
boolean
Whether the director can be armed.
canRemainActive()?
optionalcanRemainActive: (apValues,navData,activateNavData) =>boolean
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:229
A function that checks whether the director can remain in the active state. If not defined, then default logic will be used.
Parameters
| Parameter | Type | Description |
|---|---|---|
apValues | APValues | Autopilot values from the director's parent autopilot. |
navData | Readonly<APBackCourseDirectorNavData> | The current radio navigation data received by the director. |
activateNavData | Readonly<APBackCourseDirectorActivateNavData> | The radio navigation data received by the director at the moment of activation. |
Returns
boolean
Whether the director can remain in the active state.
desiredBankIntercept()?
optionaldesiredBankIntercept: (trackError) =>number
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:272
A function which computes a desired bank angle to command for a given track error during intercept phase. The
track error is the difference between the director's computed desired track and the airplane's actual ground track
in the range [-180, 180) degrees. A positive error indicates that the shortest turn direction from the actual
ground track toward the desired track is to the right. A positive bank angle indicates leftward bank. Defaults to
a linear function which scales the track error by 2.5 to derive the desired bank angle.
Parameters
| Parameter | Type |
|---|---|
trackError | number |
Returns
number
desiredBankTracking()?
optionaldesiredBankTracking: (trackError) =>number
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:281
A function which computes a desired bank angle to command for a given track error during tracking phase. The
track error is the difference between the director's computed desired track and the airplane's actual ground track
in the range [-180, 180) degrees. A positive error indicates that the shortest turn direction from the actual
ground track toward the desired track is to the right. A positive bank angle indicates leftward bank. Defaults to
a linear function which scales the track error by 1.25 to derive the desired bank angle.
Parameters
| Parameter | Type |
|---|---|
trackError | number |
Returns
number
forceNavSource?
optionalforceNavSource:NavRadioIndex
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:286
Force the director to always use a certain NAV/CDI source
lateralInterceptCurve?
optionallateralInterceptCurve:APBackCourseDirectorInterceptFunc
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:251
A function used to translate DTK and XTK into a track intercept angle. If not defined, a function that computes a default curve tuned for slow GA aircraft will be used.
lateralInterceptCurveIntercept?
optionallateralInterceptCurveIntercept:APBackCourseDirectorInterceptFunc
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:257
A function used to translate DTK and XTK into a track intercept angle during intercept phase. If not defined, the
function defined by lateralInterceptCurve will be used instead. Defaults to undefined.
lateralInterceptCurveTracking?
optionallateralInterceptCurveTracking:APBackCourseDirectorInterceptFunc
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:263
A function used to translate DTK and XTK into a track intercept angle during tracking phase. If not defined, the
function defined by lateralInterceptCurve will be used instead. Defaults to undefined.
maxBankAngle?
optionalmaxBankAngle:number| () =>number
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:168
The maximum bank angle, in degrees, supported by the director, or a function which returns it. If not defined,
the director will use the maximum bank angle defined by its parent autopilot (via apValues). Defaults to
undefined.
maxBankAngleIntercept?
optionalmaxBankAngleIntercept:number| () =>number
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:175
The maximum bank angle, in degrees, supported by the director during intercept phase, or a function which returns
it. If not defined, the director will use the maximum bank angle defined by maxBankAngle. Defaults to
undefined.
maxBankAngleTracking?
optionalmaxBankAngleTracking:number| () =>number
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:182
The maximum bank angle, in degrees, supported by the director during tracking phase, or a function which returns
it. If not defined, the director will use the maximum bank angle defined by maxBankAngle. Defaults to
undefined.
phaseOptions?
optionalphaseOptions:Readonly<APBackCourseDirectorPhaseOptions>
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:239
Options with which to configure the default phase selector logic. Ignored if the phaseSelector option is
specified.
phaseSelector?
optionalphaseSelector:APBackCourseDirectorPhaseSelectorFunc
Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:245
A function which selects the phase for the director to use when it is active and tracking a navigation signal.
If not defined, the director will use a default selector which can be configured using the phaseOptions option.