Appearance
Aux Function
The Aux function command is used to trigger auxiliary function on ArduPilot vehicles. The available functions can be found in the ArduPilot documentation. Note that a function may not be supported by all vehicle types. Even if a function is supported by your vehicle it may not be supported by this action. For example, functions designed for continuous values, such as "flap" on ArduPlane will not work.
There is also the option for custom display text. If none is provided default text is generated based on the selected options.
TIP
If there is a dedicated command available it is better to use it. This may be via one of the built-in actions or the command or custom command action.
Examples
| Display | Description |
|---|---|
| Options not configured, this will be shown when the action is first added. | |
| Option configured for aux function 179 (ICEngine start / stop) low. With default text. | |
| Middle position. | |
| High position. | |
| Custom display text can be added to give the same action a more useful name. |
Under the hood
MAV_CMD_DO_AUX_FUNCTION as a COMMAND_LONG
| Field Name | Type | Value | Description |
|---|---|---|---|
| param 1 | float | user selection | https://ardupilot.org/copter/docs/common-auxiliary-functions.html#supported-features |
| param 2 | float | user selection | MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL |
| param 3 | float | NaN | |
| param 4 | float | NaN | |
| param 5 | float | NaN | |
| param 6 | float | NaN | |
| param 7 | float | NaN |
INFO
MAV_CMD_DO_AUX_FUNCTION is the ArduPilotMega MAVLink dialect, it may not be supported by non ArduPilot systems.