AirSim Drone Racing Lab

Ratnesh Madaan, Nicholas Gyde, Sai Vemprala, Matthew Brown, Keiko Nagami, Tim Taubner, Eric Cristofalo, Davide Scaramuzza, Mac Schwager, Ashish Kapoor

Abstract

Autonomous drone racing represents a "grand challenge" for robotics, requiring the perfect synchronization of computer vision, state estimation, and agile control under extreme conditions. To accelerate research in this field, we present the AirSim Drone Racing Lab (ADRL), a high-fidelity simulation framework built on Unreal Engine. ADRL provides photorealistic environments, diverse sensor suites, and head-to-head racing logic, significantly lowering the barrier for developing robust autonomous agents. This paper outlines the framework's capabilities, benchmarking metrics, and key findings from its deployment in the NeurIPS 2019 "Game of Drones" competition.

Introduction

Testing autonomous racing algorithms in the physical world is fraught with challenges: high costs, frequent hardware damage, and the slow pace of data collection. Existing simulators often lack the photorealism necessary to train vision models that generalize to reality or fail to provide the infrastructure for competitive multi-agent scenarios. ADRL bridges this gap by offering a safe, scalable "gym" for drones that is visually indistinguishable from real-world settings.

The ADRL Framework

Built upon Microsoft AirSim, ADRL leverages the rendering power of Unreal Engine to provide high-fidelity graphics and physics.

Advanced Sensor Suite

Beyond standard RGB cameras, the lab supports depth sensors, object segmentation, optical flow, and neuromorphic event cameras. Event cameras are particularly valuable for high-speed flight, as they avoid the motion blur that typically plagues traditional frame-based cameras.

ADRL provides rich ground-truth data, including object segmentation maps, to facilitate the training of robust perception models.

Race Orchestration and APIs

A dedicated C++ "Race Module" manages competition logic, including gate detection, collision penalties, and disqualification rules. To assist researchers, high-level APIs like moveOnSpline are provided to handle trajectory tracking, allowing a focus on perception and high-level planning.

Benchmarking and Environments

The framework includes a benchmarking suite with three distinct environments and nine racing tracks of varying difficulty.

  • Soccer Field: An open outdoor area for baseline testing.
  • ZhangJiaJie: A mountainous terrain providing complex verticality and lighting.
  • MSR Building 99: A cluttered indoor office environment for close-quarters navigation.
The ADRL benchmarking suite features three diverse environments: ZhangJiaJie (left), Soccer Field (middle), and MSR Building 99 (right).

Quantifying Track Difficulty

We propose two metrics to standardize track evaluation:

  1. Curvature Metric: The area under the curvature curve of the track, representing control difficulty.
  2. Gate Visibility: The percentage of pixels the next gate occupies in the first-person view (FPV), representing perception difficulty.

Insights from the NeurIPS 2019 Competition

ADRL hosted the "Game of Drones" competition at NeurIPS 2019, attracting 117 teams. Key findings included:

  • Perception Performance: Baseline recursive filtering for gate detection showed mean Euclidean errors between 1.5m and 3.7m.
  • Winning Strategies: Top-performing teams combined deep learning (MobileNet-SSD) for perception with Non-linear Model Predictive Control (NMPC) to account for high-speed aerodynamic effects like drag.
  • Sim-to-Real Robustness: Domain randomization—varying gate textures, scales, and poses—enabled teams to train reinforcement learning policies that remained robust despite noisy sensor data.

Conclusion

The AirSim Drone Racing Lab provides a critical infrastructure for the robotics community to tackle high-speed autonomous flight. By providing high-fidelity simulation and standardized benchmarking, it facilitates the development of algorithms that can eventually transition from the "Matrix" to the real world. Future work will focus on expanding asset libraries and further integrating neuromorphic data pipelines.

Summary updated

BibTeX
@inproceedings{madaan2019airsim,
  author = {Ratnesh Madaan and Nicholas Gyde and Sai Vemprala and Matthew Brown and Keiko Nagami and Tim Taubner and Eric Cristofalo and Davide Scaramuzza and Mac Schwager and Ashish Kapoor},
  title = {{AirSim Drone Racing Lab}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure