Skip to main content

Class: Epic2ApPitchDirector

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:9

An autopilot pitch director.

Implements​

Constructors​

Constructor​

new Epic2ApPitchDirector(bus, apValues): Epic2ApPitchDirector

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:39

Creates an instance of the Epic2ApPitchDirector.

Parameters​

ParameterTypeDescription
busEventBusThe event bus to use with this instance.
apValuesAPValuesare the AP Values subjects.

Returns​

Epic2ApPitchDirector

Properties​

isOverspeedActive​

isOverspeedActive: () => boolean | null = null

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:20

A method to determine whether overspeed protection is active.


maxPitch​

protected readonly maxPitch: 20 = 20

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:27


minPitch​

protected readonly minPitch: -20 = -20

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:26


onActivate()?​

optional onActivate: () => void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:14

A callback called when this director is activated.

Returns​

void

Implementation of​

PlaneDirector.onActivate


onArm()?​

optional onArm: () => void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:16

A callback called when this director is armed.

Returns​

void

Implementation of​

PlaneDirector.onArm


pitchIncrement​

protected readonly pitchIncrement: 0.25 = 0.25

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:25


quantisePitch​

protected readonly quantisePitch: true = true

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:28


setPitch()?​

optional setPitch: (pitch) => void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:18

A callback called to set an exact AP pitch target.

Parameters​

ParameterType
pitchnumber

Returns​

void

Implementation of​

PlaneDirector.setPitch


state​

state: DirectorState = DirectorState.Inactive

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:10

The current director state.

Implementation of​

PlaneDirector.state

Methods​

activate()​

activate(): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:69

Activates this director.

Returns​

void

Implementation of​

PlaneDirector.activate


arm()​

arm(): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:82

Arms this director. This director has no armed mode, so it activates immediately.

Returns​

void

Implementation of​

PlaneDirector.arm


deactivate()​

deactivate(): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:91

Deactivates this director.

Returns​

void

Implementation of​

PlaneDirector.deactivate


update()​

update(): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:126

Updates this director.

Returns​

void

Implementation of​

PlaneDirector.update