AlphaPilot: autonomous drone racing

Philipp Foehn, Dario Brescianini, Elia Kaufmann, Titus Cieslewski, Mathias Gehrig, Manasi Muglikar, Davide Scaramuzza

Abstract

Autonomous drone racing is a demanding robotics challenge that requires high-speed maneuvers in complex environments. This paper presents the flight system that powered a second-place finish in the 2019 AlphaPilot Challenge. The system overcomes the limitations of traditional Visual-Inertial Odometry (VIO) drift at high velocities by combining a robust CNN-based gate detector with an Extended Kalman Filter (EKF) that maintains a global map of the track.

Introduction: The Challenge of Speed

Autonomous racing requires drones to fly at the edge of their physical limits. At these speeds, traditional navigation methods often fail. Visual-Inertial Odometry (VIO), the standard for drone localization, suffers from significant "drift" due to motion blur and rapid rotations. Furthermore, many systems rely on detecting only the immediate next gate; if that gate is missed or obscured, the mission fails.

The AlphaPilot drone in a racing environment featuring the characteristic square gates.

The authors' approach focuses on robustness to VIO drift and the ability to handle multiple gates simultaneously through a global mapping strategy.

System Architecture

The system is built on a modular pipeline categorized into four primary pillars: perception, state estimation, path planning, and control. This modularity allows for specialized processing of sensor data into actionable motor commands.

The modular system architecture, illustrating the flow from sensor interface to drone control.

Perception via CNN and PAFs

The perception system utilizes a 5-level U-Net architecture. Unlike standard detectors that output bounding boxes, this network predicts Corner Maps and Part Affinity Fields (PAFs). PAFs are vector fields that associate specific corners with their respective gates. This technique, borrowed from human pose estimation, allows the drone to distinguish between overlapping gates or handle partial views with high reliability.

State Estimation and Global Mapping

To combat VIO drift, the system fuses odometry data with gate detections and laser rangefinder inputs using an EKF. Instead of treating gates as transient targets, the system uses them as landmarks to build a global map. This map allows the drone to correct its estimated position and maintain navigation even when gates are temporarily out of the camera's field of view.

Path Planning and Control

The drone employs a sampling-based receding horizon planner. It calculates "time-optimal motion primitives"—mathematical models that determine the fastest trajectory between points within the drone's physical constraints. By planning through the next three gates, the system balances high-speed performance with real-time computational efficiency, allowing for re-planning at 50Hz.

The control layer uses a cascaded scheme (PD for position, P for attitude) to translate these paths into motor commands. To handle the ~130ms latency in image processing, the system "predicts forward" using IMU data. A key feature is the prioritization of the thrust axis alignment to ensure the drone adheres strictly to the high-speed trajectory.

Results and Performance

The system was rigorously tested during the 2019 AlphaPilot Challenge, where it ranked 2nd out of over 400 teams. Key performance metrics include:

  • Speed: Peak speeds of 8 m/s and an average speed of 6.5 m/s on a 74m course.
  • Perception Accuracy: The gate detector achieved a 96.4% Intersection over Union (IoU) and a precision of 0.997.
  • Robustness: The system successfully completed multi-lap trials, demonstrating the effectiveness of the global mapping in handling periods without visual gate contact.

Conclusion and Future Directions

While the system represents a significant step forward, it still trails the performance of elite human pilots. Future work aims to bridge this gap by implementing "perception-aware planning" to keep gates within the camera's view and more tightly coupling gate measurements with the VIO pipeline to further enhance robustness at extreme speeds.

Summary updated

BibTeX
@inproceedings{foehn2020alphapilot,
  author = {Philipp Foehn and Dario Brescianini and Elia Kaufmann and Titus Cieslewski and Mathias Gehrig and Manasi Muglikar and Davide Scaramuzza},
  title = {{AlphaPilot: autonomous drone racing}},
  booktitle = {Robotics: Science and Systems},
  year = {2020},
  doi = {10.15607/rss.2020.xvi.081},
}
Figure