QuadSwarm: A Modular Multi-Quadrotor Simulator for Deep Reinforcement Learning with Direct Thrust Control

Zhehui Huang, Sumeet Batra, Tao Chen, Rahul Krupani, Tushar Kumar +5 more
6/15/2023
cs.ROcs.AIcs.LG
rl

Official code: Zhehui-Huang/quad-swarm-rl (239 stars, last commit 2025-10-21).

Abstract

Reinforcement learning (RL) has shown promise in creating robust policies for robotics tasks. However, contemporary RL algorithms are data-hungry, often requiring billions of environment transitions to train successful policies. This necessitates the use of fast and highly-parallelizable simulators. In addition to speed, such simulators need to model the physics of the robots and their interaction with the environment to a level acceptable for transferring policies learned in simulation to reality. We present QuadSwarm, a fast, reliable simulator for research in single and multi-robot RL for quadrotors that addresses both issues. QuadSwarm, with fast forward-dynamics propagation decoupled from rendering, is designed to be highly parallelizable such that throughput scales linearly with additional compute. It provides multiple components tailored toward multi-robot RL, including diverse training scenarios, and provides domain randomization to facilitate the development and sim2real transfer of multi-quadrotor control policies. Initial experiments suggest that QuadSwarm achieves over 48,500 simulation samples per second (SPS) on a single quadrotor and over 62,000 SPS on eight quadrotors on a 16-core CPU. The code can be found in https://github.com/Zhehui-Huang/quad-swarm-rl.

View on arXivView PDF

Code Implementations(1)

A Multiple Quadrotor Environment Compatible With OpenAI Gym

23981Shell, PythonDec 30, 20201 years ago

Similar Papers

Cite this paper

@article{huang2023quadswarm,
  title  = {QuadSwarm: A Modular Multi-Quadrotor Simulator for Deep Reinforcement Learning with Direct Thrust Control},
  author = {Zhehui Huang and Sumeet Batra and Tao Chen and Rahul Krupani and Tushar Kumar and Artem Molchanov and Aleksei Petrenko and James A. Preiss and Zhaojing Yang and Gaurav S. Sukhatme},
  year   = {2023},
  eprint = {2306.09537},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.09537v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.09537.svg)](https://codeofpaper.com/paper/2306.09537)

Discussion