Skip to main content

Class: Epic2OverspeedProtectedDirector

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:6

A director that wraps another vertical director providing it with overspeed protection (MxSPD).

Implements​

Constructors​

Constructor​

new Epic2OverspeedProtectedDirector(bus, protectedDirector): Epic2OverspeedProtectedDirector

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:60

Ctor.

Parameters​

ParameterTypeDescription
busEventBusThe instrument event bus.
protectedDirectorPlaneDirectorThe inner director to protect. This is necessary for the PIT director as it feeds the overspeed pitch command back in.

Returns​

Epic2OverspeedProtectedDirector

Properties​

activate()​

readonly activate: () => void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:50

Activates this director.

Returns​

void

Inherit Doc​

Implementation of​

PlaneDirector.activate


arm()​

readonly arm: () => void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:48

Arms this director.

Returns​

void

Inherit Doc​

Implementation of​

PlaneDirector.arm


deactivate()​

readonly deactivate: () => void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:52

Deactivates this director.

Returns​

void

Inherit Doc​

Implementation of​

PlaneDirector.deactivate


drivePitch()?​

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

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

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

Returns​

void

Implementation of​

PlaneDirector.drivePitch


getAdjustedPitch()?​

optional getAdjustedPitch: (pitch, adjustForAoa?, adjustForVerticalWind?) => number

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

A method provided by the AP to get an adjusted pitch from the AutopilotDriver.

Parameters​

ParameterType
pitchnumber
adjustForAoa?boolean
adjustForVerticalWind?boolean

Returns​

number


isOverspeedActive​

isOverspeedActive: boolean = false

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:34

Whether overspeed protection is currently active.


isOverspeedProtected​

readonly isOverspeedProtected: true = true

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


onActivate()?​

optional onActivate: () => void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:13

A callback called when this director is activated.

Returns​

void

Implementation of​

PlaneDirector.onActivate


onDeactivate()?​

optional onDeactivate: () => void

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

A callback that is called when this director is deactivated.

Returns​

void

Implementation of​

PlaneDirector.onDeactivate


setPitch()?​

optional setPitch: (pitch) => void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:22

A callback called to set an exact AP pitch target.

Parameters​

ParameterType
pitchnumber

Returns​

void

Implementation of​

PlaneDirector.setPitch

Accessors​

onArm​

Set Signature​

set onArm(handler): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:147

A callback called when this director is armed.

Parameters​
ParameterType
handler() => void
Returns​

void

A callback called when this director is armed.

Implementation of​

PlaneDirector.onArm


state​

Get Signature​

get state(): DirectorState

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:74

The current director state.

Returns​

DirectorState

The current director state.

Implementation of​

PlaneDirector.state

Methods​

update()​

update(): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:106

Updates this director.

Returns​

void

Implementation of​

PlaneDirector.update