ROS2swarm - A ROS 2 Package for Swarm Robot Behaviors
Tanja Katharina Kaiser, Marian Johannes Begemann, Tavia Plattenteich, Lars Schilling, Georg Schildbach, Heiko Hamann
TL;DR
This paper presents ROS2swarm, a ROS 2 package that delivers a library of modular, ready-to-use swarm behavioral primitives to streamline the development and experimentation of swarm robotics across heterogeneous platforms. The framework separates movement and voting patterns, adds a Hardware Protection Layer for collision avoidance, and enables per-robot autonomy with optional inter-robot communication via global topics. The authors demonstrate the approach on three platforms (TurtleBot3 Burger, TurtleBot3 Waffle Pi, and Jackal) through experiments including attraction and a combined pattern (discussed dispersion), showing both the flexibility and the impact of platform-specific constraints. The work contributes a decentralized, extensible toolchain that facilitates rapid swarm experimentation and paves the way for broader platform support and more complex collective behaviors in ROS 2.
Abstract
Developing reusable software for mobile robots is still challenging. Even more so for swarm robots, despite the desired simplicity of the robot controllers. Prototyping and experimenting are difficult due to the multi-robot setting and often require robot-robot communication. Also, the diversity of swarm robot hardware platforms increases the need for hardware-independent software concepts. The main advantages of the commonly used robot software architecture ROS 2 are modularity and platform independence. We propose a new ROS 2 package, ROS2swarm, for applications of swarm robotics that provides a library of ready-to-use swarm behavioral primitives. We show the successful application of our approach on three different platforms, the TurtleBot3 Burger, the TurtleBot3 Waffle Pi, and the Jackal UGV, and with a set of different behavioral primitives, such as aggregation, dispersion, and collective decision-making. The proposed approach is easy to maintain, extendable, and has good potential for simplifying swarm robotics experiments in future applications.
