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 the guidance mode.

Returns

void

Inherit Doc

Implementation of

PlaneDirector.activate


arm()

readonly arm: () => void

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

Arms the guidance mode.

Returns

void

Inherit Doc

Implementation of

PlaneDirector.arm


deactivate()

readonly deactivate: () => void

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

Deactivates the guidance mode.

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 a mode signals it should be activated.

Returns

void

Implementation of

PlaneDirector.onActivate


onDeactivate()?

optional onDeactivate: () => void

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

A callback called when a mode signals it should be 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 a mode signals it should be armed.

Parameters
ParameterType
handler() => void
Returns

void

A callback called when a mode signals it should be 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 the guidance mode control loops.

Returns

void

Implementation of

PlaneDirector.update