Interface: AutopilotDriverOutput
Defined in: src/sdk/autopilot/AutopilotDriver.ts:15
An output to which an AutopilotDriver sends pitch and bank reference commands.
Methods
driveBank()
driveBank(
bank,rate):void
Defined in: src/sdk/autopilot/AutopilotDriver.ts:27
Drives the commanded bank angle toward a desired value.
Parameters
| Parameter | Type | Description |
|---|---|---|
bank | number | The desired bank angle, in degrees. Positive values indicate left bank. |
rate | number | The rate at which to drive the commanded bank angle, in degrees per second. |
Returns
void
drivePitch()
drivePitch(
pitch,rate):void
Defined in: src/sdk/autopilot/AutopilotDriver.ts:40
Drives the commanded pitch angle toward a desired value.
Parameters
| Parameter | Type | Description |
|---|---|---|
pitch | number | The desired pitch angle, in degrees. Positive values indicate downward pitch. |
rate | number | The rate at which to drive the commanded pitch angle, in degrees per second. |
Returns
void
onUpdate()
onUpdate():
void
Defined in: src/sdk/autopilot/AutopilotDriver.ts:45
A method that is called every time this output's parent autopilot is updated.
Returns
void
setBank()
setBank(
bank):void
Defined in: src/sdk/autopilot/AutopilotDriver.ts:20
Sets the commanded bank angle, in degrees.
Parameters
| Parameter | Type | Description |
|---|---|---|
bank | number | The commanded bank angle to set, in degrees. Positive values indicate left bank. |
Returns
void
setPitch()
setPitch(
pitch):void
Defined in: src/sdk/autopilot/AutopilotDriver.ts:33
Sets the commanded pitch angle, in degrees.
Parameters
| Parameter | Type | Description |
|---|---|---|
pitch | number | The commanded pitch angle to set, in degrees. Positive values indicate downward pitch. |
Returns
void