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:37
Creates an instance of the LateralDirector.
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:
null| () =>boolean=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 a mode signals it should be activated.
Returns
void
Implementation of
onArm()?
optionalonArm: () =>void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:16
A callback called when a mode signals it should be 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:67
Activates this director.
Returns
void
Implementation of
arm()
arm():
void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:80
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:89
Deactivates this director.
Returns
void
Implementation of
update()
update():
void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2ApPitchDirector.ts:124
Updates this director.
Returns
void