Skip to main content

Class: Epic2GaDirector

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

The GA mode director targeting:

  • 9° up in the air
  • 5° initial pitch on the ground, and transitioning to 9° as the pilot pitches up

Extends

Constructors

Constructor

new Epic2GaDirector(bus): Epic2GaDirector

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2GaDirector.ts:19

Parameters

ParameterType
busEventBus

Returns

Epic2GaDirector

Inherit Doc

Overrides

APTogaPitchDirector.constructor

Properties

drivePitch()?

optional drivePitch: (pitch, adjustForAoa?, adjustForVerticalWind?, rate?) => void

Defined in: sdk/autopilot/directors/APTogaPitchDirector.ts:39

A function used to drive the autopilot commanded pitch angle toward a desired value while optionally correcting for angle of attack and vertical wind.

Parameters

ParameterType
pitchnumber
adjustForAoa?boolean
adjustForVerticalWind?boolean
rate?number

Returns

void

Inherited from

APTogaPitchDirector.drivePitch


onActivate()?

optional onActivate: () => void

Defined in: sdk/autopilot/directors/APTogaPitchDirector.ts:35

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

Returns

void

Inherited from

APTogaPitchDirector.onActivate


onArm()?

optional onArm: () => void

Defined in: sdk/autopilot/directors/APTogaPitchDirector.ts:37

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

Returns

void

Inherited from

APTogaPitchDirector.onArm


setPitch()?

optional setPitch: (pitch) => void

Defined in: sdk/autopilot/directors/APTogaPitchDirector.ts:41

A callback called to set an exact AP pitch target.

Parameters

ParameterType
pitchnumber

Returns

void

Inherited from

APTogaPitchDirector.setPitch


state

state: DirectorState

Defined in: sdk/autopilot/directors/APTogaPitchDirector.ts:32

The current director state.

Inherited from

APTogaPitchDirector.state

Methods

activate()

activate(): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2GaDirector.ts:24

Activates the guidance mode.

Returns

void

Overrides

APTogaPitchDirector.activate


arm()

arm(): void

Defined in: sdk/autopilot/directors/APTogaPitchDirector.ts:129

Arms the guidance mode.

Returns

void

Inherited from

APTogaPitchDirector.arm


deactivate()

deactivate(): void

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

Deactivates the guidance mode.

Returns

void

Overrides

APTogaPitchDirector.deactivate


update()

update(): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2GaDirector.ts:46

Updates the guidance mode control loops.

Returns

void

Overrides

APTogaPitchDirector.update