Ardupilot Auxiliary Function Switches Reference Guide

A comprehensive technical index of Ardupilot auxiliary function switch IDs, flight modes, automated triggers, and safety interlocks for advanced UAV and multi-rotor configurations.

1. Overview of Ardupilot Auxiliary Functions

Ardupilot allows pilots and engineers to map auxiliary switches (CH6 through CH16) to a wide variety of software actions, flight modes, safety triggers, and payload operations. This reference breaks down every major function index, explaining its operational behavior and system purpose.

Configuration Tip: Ensure your transmitter mixes and servo endpoints are properly scaled (-100% to +100%, or 1000µs to 2000µs) so that multi-position switches cleanly trigger low, mid, and high range thresholds in Mission Planner or QGroundControl.

2. Master Auxiliary Function Index

ID Function Name Detailed Operational Description
0Do NothingUnassigned or inactive auxiliary channel slot.
2FLIP ModeInitiates automatic acrobatic flip routine (multirotor specific).
3Simple ModeLocks control orientation relative to the pilot's takeoff position regardless of craft heading.
4RTLTriggers Return-to-Launch mode, flying the vehicle back to its home coordinate.
5Save TrimSaves current RC trim offsets to flight controller EEPROM.
7Save WPStores current vehicle location as a temporary waypoint in mission memory.
9Camera TriggerManually triggers an onboard camera shutter via servo or relay output.
10RangeFinder EnableEnables or disables active downward rangefinder (lidar/sonar) altitude input.
11Fence EnableActivates the geofence boundary to restrict vehicle flight area.
13Super Simple ModeFlight orientation mode referenced to home where pulling back always flies the craft toward home.
14Acro TrainerLimits maximum roll and pitch angles while operating in Acro flight mode.
15Sprayer EnableActivates agricultural liquid spray pump systems.
16AUTO ModeSwitches flight mode to autonomous mission waypoint execution.
17AUTOTUNE ModeInitiates automated PID tuning routine for multirotors.
18LAND ModeCommands the vehicle to descend and land straight down at its current location.
19Gripper ReleaseOpens or releases a mechanical cargo gripper payload mechanism.
21Parachute EnableArms the emergency recovery parachute deployment system.
22Parachute ReleaseManually deploys the emergency recovery parachute instantly.
23Parachute 3posThree-position switch control for Parachute (Off, Armed, Released).
24Auto Mission ResetResets the active automated mission sequence back to waypoint 1.
25AttCon Feed ForwardToggles attitude controller feed-forward response tuning.
26AttCon Accel LimitsEnables or adjusts attitude controller acceleration limits.
27Retract Mount1Retracts camera gimbal mount 1 into protective housing.
28Relay1 On/OffToggles onboard electrical relay 1 state.
29Landing GearControls retractable physical landing gear servos or solenoids.
30Lost Copter SoundTriggers audible buzzer/beeper to help locate a downed aircraft.
31Motor Emergency StopCuts all motor outputs instantly regardless of flight state (critical safety switch).
32Motor InterlockSafety enable switch; motors will not spool up unless interlock is engaged.
33BRAKE ModeCommands multirotors to halt immediately and hold position.
34Relay2 On/OffToggles onboard electrical relay 2 state.
35Relay3 On/OffToggles onboard electrical relay 3 state.
36Relay4 On/OffToggles onboard electrical relay 4 state.
37THROW ModeEnables throw-to-start launch mode for multirotors.
38ADSB Avoidance EnableEnables transponder-based ADSB traffic collision avoidance.
39PrecLoiter EnableEngages precision loiter landing over an IR/optical precision landing beacon.
40Proximity Avoidance EnableEnables obstacle detection avoidance using LiDAR or radar sensors.
41ArmDisarm (4.1 and lower)Legacy manual arming and disarming switch function for older firmware.
42SMARTRTL ModeEngages Smart Return-to-Launch, retracing the safe recorded path home.
43InvertedFlight EnableEnables inverted flight stabilization parameters (supported airframes).
44Winch EnablePowers and enables cargo winch deployment systems.
45Winch ControlManual spool control for active cargo winches.
46RC Override EnableAllows ground station or companion computer overrides to be toggled via RC.
47User Function 1Custom user-scriptable auxiliary trigger slot 1.
48User Function 2Custom user-scriptable auxiliary trigger slot 2.
49User Function 3Custom user-scriptable auxiliary trigger slot 3.
52ACRO ModeSwitches flight mode to Rate-based Acrobatic flight.
55GUIDED ModeSwitches flight mode to external GCS or companion computer guided navigation.
56LOITER ModeSwitches flight mode to GPS-stabilized position and altitude hold.
57FOLLOW ModeEngages target tracking mode (following a moving Mavlink beacon/GPS).
58Clear WaypointsClears stored mission waypoint buffer from memory.
60ZigZag ModeEngages agricultural or inspection ZigZag grid flight pattern.
61ZigZag SaveWPSaves start/end waypoints for ZigZag operational grids.
62Compass LearnEnables inflight automatic compass offset learning.
65GPS DisableTemporarily disables GPS sensor input (useful for troubleshooting magnetic interference).
66Relay5 On/OffToggles onboard electrical relay 5 state.
67Relay6 On/OffToggles onboard electrical relay 6 state.
68STABILIZE ModeSwitches flight mode to self-leveling attitude stabilization.
69POSHOLD ModeEngages Position Hold combining optical flow/GPS and manual stick damping.
70ALTHOLD ModeEngages Altitude Hold while allowing manual roll/pitch control.
71FLOWHOLD ModeEngages optical-flow assisted position hold without GPS reliance.
72CIRCLE ModeCommands vehicle to orbit a designated center point at a set radius.
73DRIFT ModeSimulates flying an RC airplane feel while maintaining GPS coordinate safety.
75SurfaceTrackingUpDownAdjusts target offset height during terrain-following operations.
76STANDBY ModePlaces vehicle into low-power idle standby state.
78RunCam ControlTriggers RunCam HD camera recording and mode changes.
79RunCam OSD ControlToggles RunCam on-screen display menu navigation.
80VisOdom AlignAligns visual odometry coordinate frames with external sensors.
81DisarmDedicated instant disarm switch command.
83ZigZag AutoExecutes automated agricultural grid sweeps.
84AirModeToggles AirMode, maintaining PID attitude control authority at zero throttle.
85GeneratorControls internal combustion generator starting/choke systems.
90EKF Source SetSwitches active EKF navigation sensor source weightings.
94VTX PowerAdjusts video transmitter broadcast output power levels.
99AUTO RTLInitiates automated safety return-to-launch routine.
100KillIMU1Simulates IMU 1 sensor failure for sensor redundancy testing.
101KillIMU2Simulates IMU 2 sensor failure for sensor redundancy testing.
102Camera Mode ToggleCycles between camera photo, video, and mapping modes.
105GPS Disable YawDisables GPS-based yaw alignment assistance.
109use Custom ControllerEngages user-defined custom control loops.
110KillIMU3Simulates IMU 3 sensor failure for sensor redundancy testing.
112SwitchExternalAHRSToggles between primary AHRS and external backup navigation attitude sensors.
113Retract Mount2Retracts secondary camera gimbal mount 2.
151TURTLE ModeEngages flip-over-after-crash (reverse motor direction) recovery mode.
152SIMPLE heading resetResets the Simple Mode magnetic heading reference direction.
153ArmDisarm (4.2 and higher)Standardized manual arm/disarm switch for Ardupilot 4.2+.
154ArmDisarm with AirMode (4.2 and higher)Arms vehicle and simultaneously engages AirMode stabilization.
158Optflow CalibrationInitiates optical flow sensor scale calibration routine.
159Force IS_FlyingForces flight controller state machine into flight mode.
161Turbine Start (heli)Initiates automated turbine engine start sequence for heli/jet setups.
162FFT TuneTriggers dynamic in-flight Fast Fourier Transform filter frequency analysis.
163Mount LockLocks camera gimbal position relative to earth/horizon frame.
164Pause Stream LoggingTemporarily pauses onboard Dataflash debug log writing.
165Arm/Emergency Motor StopDual-function switch for normal arming and instant emergency cut.
166Camera Record VideoStarts or stops onboard video recording.
167Camera ZoomControls optical/digital camera lens zoom steps.
168Camera Manual FocusAdjusts camera lens focus manually.
169Camera Auto FocusTriggers automated camera contrast/phase autofocus sweep.
171Calibrate CompassesInitiates onboard compass calibration sequence.
172Battery MPPT EnableEnables solar Maximum Power Point Tracking charging regulators.
174Camera Image TrackingEngages computer vision target tracking on supported companion payloads.
175Camera LensSwitches between multiple optical camera lenses.
177Mount LRF enableEnables Laser Range Finder integrated into camera gimbal.
178FlightMode Pause/ResumePauses waypoint execution in Auto mode and holds position.
180Test autotuned gainsApplies and tests newly calculated autotune PID gains in flight.
212Mount1 RollManual auxiliary control of Gimbal Mount 1 Roll axis.
213Mount1 PitchManual auxiliary control of Gimbal Mount 1 Pitch axis.
214Mount1 YawManual auxiliary control of Gimbal Mount 1 Yaw axis.
215Mount2 RollManual auxiliary control of Gimbal Mount 2 Roll axis.
216Mount2 PitchManual auxiliary control of Gimbal Mount 2 Pitch axis.
217Mount2 YawManual auxiliary control of Gimbal Mount 2 Yaw axis.
219Transmitter TuningAssigns auxiliary knob/slider to dynamically tune active PID or filter variables.
300Scripting1Triggers Lua script event handler 1.
301Scripting2Triggers Lua script event handler 2.
302Scripting3Triggers Lua script event handler 3.
303Scripting4Triggers Lua script event handler 4.
304Scripting5Triggers Lua script event handler 5.
305Scripting6Triggers Lua script event handler 6.
306Scripting7Triggers Lua script event handler 7.
307Scripting8Triggers Lua script event handler 8.