Class: APGpsSteerDirector
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:117
An autopilot GPS roll-steering director. This director converts GPS steering commands into roll-steering commands
in order to drive flight director bank commands. This director also sets the AUTOPILOT NAV1 LOCK
SimVar state to
true (1) when it is armed or activated, and to false (0) when it is deactivated.
Implements
Constructors
Constructor
new APGpsSteerDirector(
apValues
,steerCommand
,options?
):APGpsSteerDirector
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:156
Creates a new instance of APGpsSteerDirector.
Parameters
Parameter | Type | Description |
---|---|---|
apValues | APValues | Autopilot values from this director's parent autopilot. |
steerCommand | Accessible <Readonly <APGpsSteerDirectorSteerCommand >> | The steering command used by this director. |
options? | Readonly <APGpsSteerDirectorOptions > | Options to configure the new director. |
Returns
APGpsSteerDirector
Properties
driveBank()?
optional
driveBank: (bank
,rate?
) =>void
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:130
A function used to drive the autopilot commanded bank angle toward a desired value.
Parameters
Parameter | Type |
---|---|
bank | number |
rate? | number |
Returns
void
Implementation of
onActivate()?
optional
onActivate: () =>void
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:121
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/APGpsSteerDirector.ts:124
A callback called when a mode signals it should be armed.
Returns
void
Implementation of
onDeactivate()?
optional
onDeactivate: () =>void
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:127
A callback called when a mode signals it should be deactivated.
Returns
void
Implementation of
state
state:
DirectorState
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:118
The current director state.
Implementation of
Methods
activate()
activate():
void
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:226
Activates the guidance mode.
Returns
void
Implementation of
arm()
arm():
void
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:233
Arms the guidance mode.
Returns
void
Implementation of
deactivate()
deactivate():
void
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:245
Deactivates the guidance mode.
Returns
void
Implementation of
update()
update():
void
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:253
Updates the guidance mode control loops.
Returns
void