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
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The instrument event bus. |
protectedDirector | PlaneDirector | The inner director to protect. This is necessary for the PIT director as it feeds the overspeed pitch command back in. |
Returns
Epic2OverspeedProtectedDirector
Properties
activate()
readonlyactivate: () =>void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:50
Activates the guidance mode.
Returns
void
Inherit Doc
Implementation of
arm()
readonlyarm: () =>void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:48
Arms the guidance mode.
Returns
void
Inherit Doc
Implementation of
deactivate()
readonlydeactivate: () =>void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:52
Deactivates the guidance mode.
Returns
void
Inherit Doc
Implementation of
drivePitch()?
optionaldrivePitch: (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
| Parameter | Type |
|---|---|
pitch | number |
adjustForAoa? | boolean |
adjustForVerticalWind? | boolean |
Returns
void
Implementation of
getAdjustedPitch()?
optionalgetAdjustedPitch: (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
| Parameter | Type |
|---|---|
pitch | number |
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
readonlyisOverspeedProtected:true=true
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:10
onActivate()?
optionalonActivate: () =>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
onDeactivate()?
optionalonDeactivate: () =>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
setPitch()?
optionalsetPitch: (pitch) =>void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:22
A callback called to set an exact AP pitch target.
Parameters
| Parameter | Type |
|---|---|
pitch | number |
Returns
void
Implementation of
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
| Parameter | Type |
|---|---|
handler | () => void |
Returns
void
A callback called when a mode signals it should be armed.
Implementation of
state
Get Signature
get state():
DirectorState
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:74
The current director state.
Returns
The current director state.
Implementation of
Methods
update()
update():
void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2OverspeedProtectedDirector.ts:106
Updates the guidance mode control loops.
Returns
void