Trajectory Generation for Multiagent Point-To-Point Transitions via Distributed Model Predictive Control

Carlos E. Luis, Angela P. Schoellig · DOI

Abstract

This paper introduces a novel algorithm for multiagent offline trajectory generation based on distributed model predictive control. Central to the algorithm's scalability and success is the development of an on-demand collision avoidance strategy. By predicting future states and sharing this information with their neighbors, the agents are able to detect and avoid collisions while moving toward their goals. The proposed algorithm can be implemented in a distributed fashion and reduces the computation time by more than 85% compared to previous optimization approaches based on sequential convex programming, while only having a small impact on the optimality of the plans. The approach was validated both through extensive simulations and experimentally with teams of up to 25 quadrotors flying in confined indoor spaces.

Introduction

In large-scale multiagent systems, such as warehouse robotics or drone swarms, the labeled multiagent point-to-point transition problem presents a significant computational hurdle. The objective is to move each agent to a specific destination without collisions. Traditional centralized planning methods suffer from exponential complexity as the number of agents grows, while existing decentralized approaches often oscillate between being overly aggressive (leading to deadlocks) or excessively conservative (resulting in inefficient movement).

This research proposes a Distributed Model Predictive Control (DMPC) framework that enables agents to negotiate paths locally and rapidly. By allowing for mid-flight trajectory updates, the system achieves a balance between safety and computational speed, facilitating the coordination of large swarms in dense environments.

Methodology: On-Demand Collision Avoidance

The core of the proposed algorithm is a DMPC framework where each agent solves a local optimization problem. The agents model their dynamics as simple unit masses and share their predicted trajectories with neighbors to identify potential conflicts.

Two primary innovations drive the efficiency of this approach:

  1. On-Demand Collision Avoidance: Rather than solving for all potential future collisions simultaneously, the algorithm focuses only on the first predicted collision within the planning horizon. This "on-demand" strategy significantly reduces the number of constraints in the optimization problem.
  2. Soft Constraints and Relaxation: To ensure the optimizer always finds a solution (feasibility), the algorithm employs relaxation variables. These "soft constraints" allow for minor, temporary violations of safety boundaries when necessary, which are then heavily penalized to return the agents to safe distances immediately.
Evolution of agent trajectories over time (0s to 8.2s) demonstrating the DMPC algorithm's ability to resolve conflicts dynamically.

Furthermore, the researchers implemented a "One Step After" trick, imposing constraints one time-step after a predicted collision to ensure smoother avoidance maneuvers. The distributed nature of the problem also allows for parallel execution; by clustering agents, computation time was further reduced by 60% on multi-core hardware.

Results and Hardware Validation

The algorithm's performance was evaluated through both high-density simulations and physical experiments. In simulations involving up to 200 agents, the DMPC approach maintained a success rate of over 75% in dense scenarios and over 95% in standard trials.

Compared to state-of-the-art Sequential Convex Programming (SCP), the DMPC method achieved a 97% reduction in computation time over centralized SCP and an 85% reduction over decoupled SCP. Remarkably, this speedup comes with a minimal optimality gap, as the total distance traveled was only 1.7% longer than the theoretical centralized optimum.

Experimental validation with a swarm of 25 quadrotors in a 5m x 5m indoor arena.

Hardware validation was conducted using 25 Crazyflie 2.0 quadrotors in a 5m x 5m arena. The system successfully executed complex position exchanges, such as transitioning from a grid to a specific logo shape, in just 1.8 seconds of total computation time.

Discussion and Future Work

While highly effective, the current DMPC approach has limitations. The use of discrete-time steps introduces a theoretical risk of inter-step collisions, though "warning zones" are used to mitigate this. Additionally, decentralized systems can occasionally encounter deadlocks or "reciprocal dances" without a central coordinator.

Future research will focus on asynchronous DMPC, allowing agents to update trajectories without waiting for the entire swarm to finish calculations. This would further enhance real-time responsiveness and robustness in environments with unreliable communication.

Summary updated

BibTeX
@article{luis2018trajectory,
  author = {Carlos E. Luis and Angela P. Schoellig},
  title = {{Trajectory Generation for Multiagent Point-To-Point Transitions via Distributed Model Predictive Control}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2018},
  doi = {10.1109/lra.2018.2890572},
}
Figure