ArduPilot is an open-source autopilot software suite that runs on a flight controller and controls unmanned vehicles, including multicopters, fixed-wing aircraft, helicopters, ground rovers, boats and submarines. Within drone software & autonomy, it is one of the two dominant open autopilot platforms, alongside PX4, and provides everything from attitude stabilization to fully autonomous missions.
The project grew out of the Arduino-based ArduPilotMega boards around 2009 and has since become a mature, vendor-neutral codebase written in C++, released under the GPLv3 license and maintained by a global community of developers and companies. It is used by hobbyists, universities, agricultural operators, survey firms and defense contractors, which makes it one of the most widely deployed autopilots in the world.
How ArduPilot controls a vehicle
ArduPilot works as a layered control system that turns sensor data and pilot or mission commands into motor and servo outputs many hundreds of times per second. Sensor drivers read the IMU, barometer, compass, GNSS receiver and optional rangefinders; a state estimator fuses these readings into an estimate of position, velocity and attitude; and cascaded controllers compute the outputs needed to follow the desired trajectory.
The estimator is an Extended Kalman Filter, currently EKF3, which can run several instances in parallel on separate IMUs and switch to the healthiest one when a sensor fails. Above it sit PID-based attitude and position controllers, and above those the flight mode logic that decides what the vehicle should do. The software runs on top of the ChibiOS real-time operating system on most flight controllers, or on Linux boards.
The table below shows the main software layers and their responsibilities.
| Layer | Responsibility | Example elements |
|---|---|---|
| Hardware abstraction layer | Isolates code from the specific board | ChibiOS, Linux, SITL backends |
| Sensor drivers | Read raw measurements | IMU, GNSS, compass, airspeed |
| State estimation | Fuse sensors into a navigation solution | EKF3 with lane switching |
| Controllers | Track attitude, rate and position targets | Cascaded PID loops |
| Flight modes | Translate intent into targets | Loiter, Auto, RTL, Guided |
| Communication | Exchange telemetry and commands | MAVLink, DroneCAN |
Vehicle firmware types and flight modes
ArduPilot is distributed as separate firmware builds for each vehicle class, all sharing the same core libraries. This design lets one codebase serve very different machines while giving each its own tuned control logic and parameter set.
| Firmware | Vehicle class | Typical use |
|---|---|---|
| Copter | Multicopters and traditional helicopters | Mapping, inspection, filming |
| Plane | Fixed-wing and VTOL aircraft | Long-range survey, delivery |
| Rover | Ground vehicles and boats | Agriculture, surface mapping |
| Sub | Remotely operated underwater vehicles | Hull and pipeline inspection |
| Blimp and AntennaTracker | Airships and ground antenna mounts | Research, telemetry tracking |
Each firmware offers flight modes ranging from manual to fully autonomous. In multicopters, Stabilize keeps the aircraft level but leaves throttle to the pilot, Loiter holds a GPS position, Auto flies a preloaded waypoint mission, RTL returns to launch, and Guided accepts real-time position targets from a ground station or a companion computer. This graded autonomy is what allows the same aircraft to be flown by hand and then sent on an unattended survey.
ArduPilot compared with PX4 and proprietary autopilots
ArduPilot and PX4 are the two leading open-source autopilots, and both speak MAVLink and run on Pixhawk-class hardware, yet they differ in licensing, governance and design philosophy. Proprietary systems, such as those in consumer camera drones, offer polish but little or no access to the control code.
| Aspect | ArduPilot | PX4 | Proprietary autopilot |
|---|---|---|---|
| License | GPLv3, copyleft | BSD 3-clause, permissive | Closed source |
| Governance | Independent community project | Dronecode Foundation | Single manufacturer |
| Vehicle coverage | Very broad, including Sub and Blimp | Broad, focused on air vehicles | Usually one product line |
| Configuration depth | Over a thousand parameters | Extensive, more modular | Limited to app settings |
| Typical ground station | Mission Planner, QGroundControl | QGroundControl | Vendor app such as DJI Pilot 2 |
The license matters commercially. Under the GPLv3, companies that distribute modified ArduPilot firmware must provide their source code, which keeps improvements in the community; the permissive PX4 license allows closed derivatives. Neither autopilot is objectively superior, and the right choice depends on vehicle type, tooling and business model.
Ground stations, simulation and integration
ArduPilot is configured and monitored through a ground control station that communicates over the MAVLink protocol. Mission Planner, a Windows application closely associated with the project, offers deep parameter access, tuning tools and log analysis, while QGroundControl provides a cross-platform alternative used across both open autopilots.
For development and training, SITL (software in the loop) runs the real ArduPilot code on a desktop computer against a simulated vehicle, so missions, scripts and parameter changes can be tested without risk. Onboard Lua scripting lets operators add custom behaviors without recompiling firmware, and a companion computer running MAVROS or MAVSDK can send Guided-mode commands for computer vision, obstacle avoidance or swarm experiments.
| Task | Tool | Benefit |
|---|---|---|
| Initial setup and calibration | Mission Planner or QGroundControl | Guided sensor and radio calibration |
| Mission design | Waypoint editor in the ground station | Survey grids and corridor patterns |
| Testing without hardware | SITL simulation | Safe, repeatable experiments |
| Custom behavior | Onboard Lua scripts | No firmware rebuild required |
| Post-flight analysis | Dataflash logs and log viewers | Diagnose vibration, tuning and failures |
Limitations and common mistakes
ArduPilot’s flexibility is also its main difficulty: the steep configuration burden means that a poorly set up vehicle can behave dangerously even though the software itself is reliable. Most incidents trace back to integration errors rather than code defects.
- Skipping calibration of the accelerometer or compass leads to drift and toilet-bowling in Loiter.
- Excessive vibration corrupts IMU data and can trigger EKF failsafes or uncontrolled climbs.
- Unconfigured failsafes for radio, battery or GCS loss leave the vehicle without a safe response.
- Copying parameters from a different airframe produces unstable tuning.
- Ignoring flight logs hides early warnings such as rising motor imbalance or GNSS glitches.
Regulatory compliance is not automatic either. ArduPilot provides tools such as geofencing and Remote ID support, but the operator remains responsible for airspace rules and certification, and the software is not certified as a manned-aviation product.
The short version
ArduPilot is the brain software of a drone or robot vehicle. It reads sensors that tell it where it is and which way it is tilted, then constantly adjusts the motors to keep the vehicle steady and on course.
It is free and open, so anyone can use, inspect and improve it. With it, a pilot can fly by hand, ask the drone to hold still in the air, or plan a route on a map and let the vehicle fly the whole mission by itself.
Where it makes a difference
A regional agricultural cooperative needs regular crop health maps for 400 hectares of fields. Instead of buying a closed survey platform, its technicians build a fixed-wing VTOL aircraft on a Pixhawk-class flight controller running ArduPilot Plane, with a multispectral camera triggered by the autopilot at set distance intervals.
The team rehearses every mission in SITL, then plans survey grids in Mission Planner with 75 percent image overlap at 120 meters altitude. The aircraft takes off vertically, transitions to forward flight, covers about 150 hectares per flight and lands automatically at its launch point, with geofences and battery failsafes configured. Over one season, the cooperative maps all fields weekly at a fraction of the cost of a proprietary system and adapts the setup itself, which shows the practical value of open autopilot software.