Skip to main content

Class: APNoneLateralDirector

A director that removes all lateral guidance from the autopilot system.

Implements

Constructors

constructor

new APNoneLateralDirector(): APNoneLateralDirector

Returns

APNoneLateralDirector

Properties

onActivate

Optional onActivate: () => void

A callback called when a mode signals it should be activated.

Type declaration

▸ (): void

Returns

void

Inherit Doc

Implementation of

PlaneDirector.onActivate

Defined in

src/sdk/autopilot/directors/APNoneDirectors.ts:104


onArm

Optional onArm: () => void

A callback called when a mode signals it should be armed.

Type declaration

▸ (): void

Returns

void

Inherit Doc

Implementation of

PlaneDirector.onArm

Defined in

src/sdk/autopilot/directors/APNoneDirectors.ts:107


onDeactivate

Optional onDeactivate: () => void

A callback called when a mode signals it should be deactivated.

Type declaration

▸ (): void

Returns

void

Inherit Doc

Implementation of

PlaneDirector.onDeactivate

Defined in

src/sdk/autopilot/directors/APNoneDirectors.ts:110


setBank

Optional setBank: (bank: number) => void

A callback called to set an exact AP bank target.

Param

The bank in degrees (positive = right, negative = left).

Type declaration

▸ (bank): void

Parameters
NameType
banknumber
Returns

void

Inherit Doc

Implementation of

PlaneDirector.setBank

Defined in

src/sdk/autopilot/directors/APNoneDirectors.ts:69


state

state: DirectorState = DirectorState.Inactive

The current director state.

Implementation of

PlaneDirector.state

Defined in

src/sdk/autopilot/directors/APNoneDirectors.ts:66

Methods

activate

activate(): void

Activates the guidance mode.

Returns

void

Implementation of

PlaneDirector.activate

Defined in

src/sdk/autopilot/directors/APNoneDirectors.ts:72


arm

arm(): void

Arms the guidance mode.

Returns

void

Implementation of

PlaneDirector.arm

Defined in

src/sdk/autopilot/directors/APNoneDirectors.ts:87


deactivate

deactivate(): void

Deactivates the guidance mode.

Returns

void

Implementation of

PlaneDirector.deactivate

Defined in

src/sdk/autopilot/directors/APNoneDirectors.ts:94


update

update(): void

Updates the guidance mode control loops.

Returns

void

Implementation of

PlaneDirector.update

Defined in

src/sdk/autopilot/directors/APNoneDirectors.ts:99