Class: APPitchLvlDirector
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:9
A pitch level autopilot director.
Implements
Constructors
Constructor
new APPitchLvlDirector(
apValues
):APPitchLvlDirector
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:27
Creates an instance of the APPitchLvlDirector.
Parameters
Parameter | Type | Description |
---|---|---|
apValues | APValues | are the ap selected values for the autopilot. |
Returns
APPitchLvlDirector
Properties
apValues
protected
readonly
apValues:APValues
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:27
are the ap selected values for the autopilot.
drivePitch()?
optional
drivePitch: (pitch
,adjustForAoa?
,adjustForVerticalWind?
) =>void
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:20
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
onActivate()?
optional
onActivate: () =>void
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:14
A callback called when a mode signals it should be activated.
Returns
void
Implementation of
onArm()?
optional
onArm: () =>void
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:17
A callback called when a mode signals it should be armed.
Returns
void
Implementation of
state
state:
DirectorState
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:11
The current director state.
Implementation of
Methods
activate()
activate():
void
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:34
Activates this director.
Returns
void
Implementation of
arm()
arm():
void
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:45
Arms this director. This director has no armed mode, so it activates immediately.
Returns
void
Implementation of
deactivate()
deactivate():
void
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:54
Deactivates this director.
Returns
void
Implementation of
update()
update():
void
Defined in: src/sdk/autopilot/directors/APPitchLvlDirector.ts:61
Updates this director.
Returns
void