Introduction
Coordinating a swarm of quadrotors in cluttered environments presents a significant computational challenge. The primary hurdle is the non-convex nature of the planning space. Specifically, obstacle avoidance requires navigating through complex, non-convex "free space," while inter-agent avoidance involves maintaining a minimum distance between drones—a constraint that is inherently non-convex ($||p_i - p_j|| \geq d$).
Traditional centralized methods like Mixed-Integer Quadratic Programming (MIQP) produce high-quality paths but scale poorly, often taking hundreds of seconds for just a few agents. Conversely, decentralized methods are fast but prone to deadlocks. This paper introduces the Relative Safe Flight Corridor (RSFC), a geometric construct that linearizes these difficult constraints, enabling a centralized approach that can coordinate 64 quadrotors in under a minute.
The RSFC Pipeline
The proposed method transforms the multi-agent trajectory planning problem into a single, high-speed Quadratic Program (QP) through a three-step pipeline:
1. Initial Discrete Planning
The process begins with Enhanced Conflict-Based Search (ECBS). This graph-based algorithm quickly generates a rough, collision-free "skeleton" path for all agents. ECBS is chosen for its efficiency and its ability to provide a guaranteed bound on the sub-optimality of the path length.
2. Corridor Construction
This step defines the safe regions for the drones:
- Safe Flight Corridor (SFC): For each individual agent, a sequence of connected convex boxes is built along the initial path, representing the obstacle-free space.
- Relative Safe Flight Corridor (RSFC): This is the core innovation. For every pair of agents, the authors define a convex region in the relative coordinate space ($p_j - p_i$). This ensures that the drones maintain a safe distance from each other, accounting for physical size and "downwash" turbulence.
3. Continuous Optimization
The trajectories are modeled as piecewise Bernstein polynomials. These polynomials possess a "convex hull property," meaning the entire curve is guaranteed to remain within the convex hull of its control points. By constraining these control points to stay within the SFCs and the relative control points to stay within the RSFCs, the collision avoidance problem is reduced to a set of linear inequality constraints. The final smooth trajectory is obtained by solving a QP that minimizes "jerk" (the rate of change of acceleration).
Key Insights
The most significant contribution of this research is the linearization of the inter-drone distance constraint. While the distance itself is non-convex, a box in the relative coordinate space is convex. Forcing the relative position of two drones into these boxes allows standard QP solvers to handle the problem efficiently. Furthermore, using Bernstein polynomials provides a continuous safety guarantee, eliminating the need for discrete-time collision checks that might miss "inter-sample" collisions.
Experimental Results
The RSFC method was rigorously evaluated in both simulation and hardware:
- Simulation: In a 10m x 10m x 2.5m random forest with 30 obstacles, the algorithm planned trajectories for 16 agents in just 0.93 seconds. Scaling up to 64 agents took 51.2 seconds—a massive improvement over MIQP methods.
- Hardware: Tests using 6 Crazyflie 2.0 nano-quadrotors in a motion-capture lab confirmed the real-world feasibility, with planning taking only 0.138 seconds.
- Success Rate: The method achieved a 100% success rate for 16 agents in dense environments, aided by a heuristic time-allocation strategy that prevents infeasible constraints during RSFC transitions.
Limitations and Future Outlook
While highly effective, the current approach simplifies the problem by not explicitly including velocity or acceleration limits in the QP to maintain speed. Instead, trajectories are "time-scaled" (slowed down) post-optimization, which can lead to sub-optimal mission times. Additionally, the $O(n^3)$ complexity of the QP solver suggests that as swarms grow into the hundreds, the centralized nature will become a bottleneck. Future work will focus on more precise time allocation and reducing computational overhead to enable true real-time trajectory re-generation during flight.
Summary updated