← Back

Low-Cost Swarm Robot Testbed for Ensemble Control

Jan 2026 – Present · Undergraduate Research Assistant at Jr-Shin Li's Lab, WashU

Five differential-drive swarm robots with LED rings in the OptiTrack arena

Overview

Our lab develops ensemble control algorithms that treat a swarm not as individual robots but as a distribution of poses. Using MPC / reinforcement learning, every robot receives the same linear and angular velocity command, yet the swarm as a whole can be steered through a range of pattern-formation tasks.

To validate these algorithms on real hardware we needed a swarm platform — but commercial robots are expensive and larger than necessary, which leads to collisions in a shared arena. Many labs face the same gap when they first start testing swarm algorithms. My task was to build a small, cheap, easy-to-replicate robot and the full testbed around it, so that other groups can reproduce it from open-source designs.

What I built

The robot

The testbed pipeline

  1. OptiTrackmotion capture tracks every robot
  2. ROS 2open-source modules publish each robot's pose
  3. Ensemble controllercomputes linear & angular velocity
  4. micro-ROSsends commands to each robot's IP over Wi-Fi
  5. ESP32 robotsexecute the motion

I built five robots and was responsible for all of the hardware testing.

Experiments

To make the tests harder, we split the floor into two regions with different resistance: when a robot crosses into the second region, its motor output is attenuated by a fixed percentage. The controller still has to steer the whole swarm with a single shared command.

A real run: the swarm on the floor, and the live pose distribution being steered toward the target ellipse.

Results

Open-source design files