Class: Epic2GaDirector
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2GaDirector.ts:10
The GA mode director targeting:
- 9° up in the air
- 5° initial pitch on the ground, and transitioning to 9° as the pilot pitches up
Extends
Constructors
Constructor
new Epic2GaDirector(
bus):Epic2GaDirector
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2GaDirector.ts:19
Parameters
| Parameter | Type |
|---|---|
bus | EventBus |
Returns
Epic2GaDirector
Inherit Doc
Overrides
APTogaPitchDirector.constructor
Properties
drivePitch()?
optionaldrivePitch: (pitch,adjustForAoa?,adjustForVerticalWind?,rate?) =>void
Defined in: sdk/autopilot/directors/APTogaPitchDirector.ts:39
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 |
rate? | number |
Returns
void
Inherited from
APTogaPitchDirector.drivePitch
onActivate()?
optionalonActivate: () =>void
Defined in: sdk/autopilot/directors/APTogaPitchDirector.ts:35
A callback called when a mode signals it should be activated.
Returns
void
Inherited from
APTogaPitchDirector.onActivate
onArm()?
optionalonArm: () =>void
Defined in: sdk/autopilot/directors/APTogaPitchDirector.ts:37
A callback called when a mode signals it should be armed.
Returns
void
Inherited from
setPitch()?
optionalsetPitch: (pitch) =>void
Defined in: sdk/autopilot/directors/APTogaPitchDirector.ts:41
A callback called to set an exact AP pitch target.
Parameters
| Parameter | Type |
|---|---|
pitch | number |
Returns
void
Inherited from
state
state:
DirectorState
Defined in: sdk/autopilot/directors/APTogaPitchDirector.ts:32
The current director state.
Inherited from
Methods
activate()
activate():
void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2GaDirector.ts:24
Activates the guidance mode.
Returns
void
Overrides
arm()
arm():
void
Defined in: sdk/autopilot/directors/APTogaPitchDirector.ts:129
Arms the guidance mode.
Returns
void
Inherited from
deactivate()
deactivate():
void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2GaDirector.ts:39
Deactivates the guidance mode.
Returns
void
Overrides
APTogaPitchDirector.deactivate
update()
update():
void
Defined in: workingtitle-instruments-epic2/shared/Autopilot/directors/Epic2GaDirector.ts:46
Updates the guidance mode control loops.
Returns
void