Actuators (PWM)¶
A generic PWM-controlled device can be added by connecting it to a pin on the autopilot’s servo rail for use as a button-controlled function, and assigning that pin’s SERVOx_FUNCTION parameter as one of Actuator 1..6 as desired. Limits and direction are configured using the pin’s SERVOx_MIN/MAX/REVERSED parameters.
Joystick/Gamepad Control¶
Actuator outputs can be controlled using the actuator_n_* Button Functions, with options for:
Function |
Description |
|---|---|
|
Set the servo output channel assigned to Actuator N to its minimum value |
|
Set the servo output channel assigned to Actuator N to its maximum value |
|
Set the servo output channel assigned to Actuator N to its center value |
|
Increase Actuator N by the |
|
Decrease Actuator N by the |
|
Set Actuator N to its minimum value while the button is held, then to its center value on release |
|
Set Actuator N to its maximum value while the button is held, then to its center value on release |
|
Toggle Actuator N between its minimum and center values |
|
Toggle Actuator N between its maximum and center values |
Programmatic Control¶
Support for MAVLink-based control (via MAV_CMD_DO_SET_ACTUATOR) is underway, but not yet available.
Lua script control is not supported.