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
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus to use with this instance. |
apValues | APValues | are 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
protectedreadonlymaxPitch:20=20
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:27
minPitch
protectedreadonlyminPitch:-20=-20
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:26
onActivate()?
optionalonActivate: () =>void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:14
A callback called when this director is activated.
Returns
void
Implementation of
onArm()?
optionalonArm: () =>void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:16
A callback called when this director is armed.
Returns
void
Implementation of
pitchIncrement
protectedreadonlypitchIncrement:0.25=0.25
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:25
quantisePitch
protectedreadonlyquantisePitch:true=true
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:28
setPitch()?
optionalsetPitch: (pitch) =>void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:18
A callback called to set an exact AP pitch target.
Parameters
| Parameter | Type |
|---|---|
pitch | number |
Returns
void
Implementation of
state
state:
DirectorState=DirectorState.Inactive
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:10
The current director state.
Implementation of
Methods
activate()
activate():
void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:69
Activates this director.
Returns
void
Implementation of
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
deactivate()
deactivate():
void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:91
Deactivates this director.
Returns
void
Implementation of
update()
update():
void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:126
Updates this director.
Returns
void