Class: APGpsSteerDirector
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:80
An autopilot GPS roll-steering director.
Implements
Constructors
Constructor
new APGpsSteerDirector(
bus,apValues,steerCommand,options?):APGpsSteerDirector
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:114
Creates a new instance of APGpsSteerDirector.
Parameters
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus. |
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()?
optionaldriveBank: (bank,rate?) =>void
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:90
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()?
optionalonActivate: () =>void
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:84
A callback called when a mode signals it should be activated.
Returns
void
Implementation of
onArm()?
optionalonArm: () =>void
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:87
A callback called when a mode signals it should be armed.
Returns
void
Implementation of
state
state:
DirectorState
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:81
The current director state.
Implementation of
Methods
activate()
activate():
void
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:168
Activates the guidance mode.
Returns
void
Implementation of
arm()
arm():
void
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:177
Arms the guidance mode.
Returns
void
Implementation of
deactivate()
deactivate():
void
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:190
Deactivates the guidance mode.
Returns
void
Implementation of
update()
update():
void
Defined in: src/sdk/autopilot/directors/APGpsSteerDirector.ts:196
Updates the guidance mode control loops.
Returns
void