Skip to main content

Type Alias: APGpsSteerDirectorOptions

APGpsSteerDirectorOptions = object

Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:65

Options for APGpsSteerDirector.

Properties

bankRate?

optional bankRate: number | () => number

Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:77

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 undefined, a default bank rate will be used. Defaults to undefined.


canActivate()?

optional canActivate: (apValues, state) => boolean

Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:101

A function that determines whether the director can activate from an armed state.

Parameters

ParameterTypeDescription
apValuesAPValuesAutopilot values from the director's parent autopilot.
stateReadonly<APGpsSteerDirectorState>Data describing the state of the director.

Returns

boolean

Whether the director can remain active once it has already been activated.


canArm()?

optional canArm: (apValues, state) => boolean

Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:85

A function that determines whether the director can remain active once it has already been activated.

Parameters

ParameterTypeDescription
apValuesAPValuesAutopilot values from the director's parent autopilot.
stateReadonly<APGpsSteerDirectorState>Data describing the state of the director.

Returns

boolean

Whether the director can remain active once it has already been activated.


canRemainActive()?

optional canRemainActive: (apValues, state) => boolean

Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:109

A function that determines whether the director can remain active once it has already been activated.

Parameters

ParameterTypeDescription
apValuesAPValuesAutopilot values from the director's parent autopilot.
stateReadonly<APGpsSteerDirectorState>Data describing the state of the director.

Returns

boolean

Whether the director can remain active once it has already been activated.


canRemainArmed()?

optional canRemainArmed: (apValues, state) => boolean

Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:93

A function that determines whether the director can remain active once it has already been activated.

Parameters

ParameterTypeDescription
apValuesAPValuesAutopilot values from the director's parent autopilot.
stateReadonly<APGpsSteerDirectorState>Data describing the state of the director.

Returns

boolean

Whether the director can remain active once it has already been activated.


maxBankAngle?

optional maxBankAngle: number | () => number

Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:71

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.