NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Aggressive Trajectory Generation for a Swarm of Autonomous Racing Drones

Yuyang Shen, Jin Zhou, Danzhe Xu, Fangguo Zhao, Jinming Xu, Ji-Ming Chen, Shuo Li

Introduction

Autonomous drone racing represents a frontier in robotics, often described as the "Formula 1" of the field. It demands the integration of high-speed perception, precise control, and aggressive trajectory planning. While recent advancements have enabled autonomous systems to outperform human pilots in single-drone scenarios, the transition to multi-drone racing—where a swarm of quadrotors must navigate a track simultaneously—introduces significant complexities. This paper presents a novel optimization framework designed to generate time-optimal, collision-free trajectories for drone swarms, allowing them to compete at aggressive speeds while maintaining safety.

The Synchronization Challenge in Multi-Agent Racing

The primary objective in drone racing is time-optimality: completing a course in the shortest possible duration. State-of-the-art methods for single drones, such as the Complementary Progress Constraint (CPC), achieve this by treating time as a decision variable. By allowing the duration between trajectory segments to vary, the optimizer can find the absolute physical limits of the vehicle.

However, this approach becomes computationally intractable when applied to a swarm. If multiple drones are optimizing their own variable time scales, synchronizing their positions to avoid collisions becomes a moving target. For instance, if Drone A reaches a specific waypoint at $t=2.1s$ and Drone B reaches its adjacent waypoint at $t=2.3s$, the optimizer cannot easily enforce a minimum safety distance between them without a unified temporal reference. This lack of synchronization often leads to collisions or necessitates overly conservative safety margins that degrade racing performance.

Methodology: Fixed-Time Synchronization and Progress Matrices

To address the synchronization gap, the authors propose a reformulated optimization strategy that shifts from variable time steps to a fixed-time-step framework.

1. Fixed Time-Step Strategy

By fixing the time interval ($\Delta t$) between discrete nodes in the trajectory, the researchers establish a "common clock" for the entire swarm. This ensures that at any given node $k$, the positions of all drones are known for the exact same timestamp. Consequently, collision constraints—defined as a minimum Euclidean distance $\delta_{col}$ between any two agents—can be implemented as straightforward mathematical inequalities within the optimization problem.

2. The Progress Matrix ($\lambda$)

In a fixed-time framework, time-optimality cannot be achieved by minimizing a total time variable. Instead, the authors introduce a progress matrix, $\lambda$. Each element in this matrix indicates whether a specific drone has successfully passed a designated waypoint at a specific time node. The optimization objective is to minimize the sum of the elements in this matrix. This creates a "push" mechanism: the solver is mathematically incentivized to make drones reach waypoints as early as possible in the fixed-time sequence. If the physical constraints of the drone allow it to reach a gate at node 10 instead of node 11, the optimizer will force that aggressive maneuver.

3. Dynamics and Downwash Constraints

The framework incorporates full quadrotor dynamics, including thrust, torque, and quaternion-based orientation. A critical addition for swarm safety is the consideration of "downwash risk." When one drone flies directly above another, the aerodynamic turbulence (downwash) can destabilize the lower craft. The authors utilize a specific matrix ($E$) to penalize configurations where drones are vertically aligned, ensuring the swarm remains stable even at high speeds.

Experimental Validation

The proposed method was evaluated through both high-fidelity simulations and real-world flight tests.

Simulation Environment

Using the Gazebo simulator, the researchers tested a swarm of five drones in a 35m × 35m racing arena containing six waypoints. The drones achieved a top speed of 14 m/s. A key finding was that without the proposed collision and downwash constraints, the swarm consistently crashed within the first two seconds of the race, highlighting the necessity of the integrated planning approach.

Hardware Implementation

Real-world validation was conducted using custom-built 713g quadrotors equipped with Raspberry Pi onboard computers and CUAV nora+ autopilots. In a confined 4m × 2m × 1m flight space, two drones successfully navigated a three-waypoint track at speeds of 2 m/s. While slower than the simulation due to space constraints, the test proved the algorithm's feasibility on physical hardware using an Opti-track motion capture system for position feedback.

Key Results and Comparative Analysis

The research demonstrates that simultaneous multi-agent optimization significantly outperforms traditional "time-lag" baselines. A common workaround for swarms is to calculate a single-drone optimal path and then stagger the start times of each drone. The authors' results show that their simultaneous approach is approximately 0.9 seconds faster than this baseline. By allowing drones to negotiate their racing lines collectively, the system finds more efficient global solutions that a staggered approach cannot see.

Limitations and Future Directions

Despite the success of the framework, several challenges remain for deployment in competitive racing:

  • Computational Efficiency: The optimization currently occurs offline. To compete against dynamic or unpredictable opponents, the solver must be optimized to run in real-time on onboard hardware.
  • Aerodynamic Modeling: At the extreme limits of maneuverability, the gap between the mathematical model and physical reality (e.g., motor lag and complex airflows) increases. Future work will focus on more robust low-level controllers to bridge this "sim-to-real" gap.
  • Onboard Sensing: Transitioning from motion-capture environments to outdoor tracks will require the integration of high-speed onboard localization, such as visual-inertial odometry.

Conclusion

This work provides a robust foundation for multi-drone racing by proving that temporal synchronization via a fixed-time-step framework is the key to balancing aggressive performance with swarm safety. By reformulating time-optimality as a progress matrix minimization, the researchers have enabled drones to fly at their physical limits without the risk of mid-air collisions.

Summary updated

BibTeX
@inproceedings{shen2023aggressive,
  author = {Yuyang Shen and Jin Zhou and Danzhe Xu and Fangguo Zhao and Jinming Xu and Ji-Ming Chen and Shuo Li},
  title = {{Aggressive Trajectory Generation for a Swarm of Autonomous Racing Drones}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2023},
  doi = {10.1109/iros55552.2023.10341844},
}
Figure