Skip to main content

Type Alias: APBackCourseDirectorOptions

APBackCourseDirectorOptions = object

Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:162

Options for APBackCourseDirector.

Properties

bankRate?

optional bankRate: 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?

optional bankRateIntercept: 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?

optional bankRateTracking: 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()?

optional canActivate: (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

ParameterTypeDescription
apValuesAPValuesAutopilot values from the director's parent autopilot.
navDataReadonly<APBackCourseDirectorNavData>The current radio navigation data received by the director.

Returns

boolean

Whether the director can be activated from an armed state.


canArm()?

optional canArm: (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

ParameterTypeDescription
apValuesAPValuesAutopilot values from the director's parent autopilot.
navDataReadonly<APBackCourseDirectorNavData>The current radio navigation data received by the director.

Returns

boolean

Whether the director can be armed.


canRemainActive()?

optional canRemainActive: (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

ParameterTypeDescription
apValuesAPValuesAutopilot values from the director's parent autopilot.
navDataReadonly<APBackCourseDirectorNavData>The current radio navigation data received by the director.
activateNavDataReadonly<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()?

optional desiredBankIntercept: (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

ParameterType
trackErrornumber

Returns

number


desiredBankTracking()?

optional desiredBankTracking: (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

ParameterType
trackErrornumber

Returns

number


forceNavSource?

optional forceNavSource: NavRadioIndex

Defined in: src/sdk/autopilot/directors/APBackCourseDirector.ts:286

Force the director to always use a certain NAV/CDI source


lateralInterceptCurve?

optional lateralInterceptCurve: 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?

optional lateralInterceptCurveIntercept: 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?

optional lateralInterceptCurveTracking: 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?

optional maxBankAngle: 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?

optional maxBankAngleIntercept: 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?

optional maxBankAngleTracking: 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?

optional phaseOptions: 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?

optional phaseSelector: 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.