SwarmBot

SwarmBot architecture: ESP32-S3 robot and ROS 2 PC over Wi-Fi

SwarmBot: Swarm of Mobile Robots with micro-ROS

A swarm of differential-drive mobile robots (robot_01 to robot_12) built on ESP32-S3 microcontrollers. Each robot runs ESP-IDF with FreeRTOS and a micro-ROS node, so it appears in ROS 2 Humble as a regular node, communicating with a PC over Wi-Fi.

The first robot already publishes its MPU6050 IMU at 20 Hz, runs a PI wheel-velocity loop at 100 Hz with encoder feedback, and recovers automatically if the micro-ROS agent or the Wi-Fi connection drops. On the PC side, a URDF model is visualized in RViz2 both in simulation and live with the real robot's orientation, and every node is namespaced to scale to multiple robots. Work in progress: odometry with both encoders, velocity commands and multi-robot launch.

  • Embedded Systems with ESP32-S3, ESP-IDF and FreeRTOS
  • micro-ROS and ROS 2 Communication over Wi-Fi
  • Mobile Robot Modeling and Wheel Velocity Control

For more information about the project, check the following links:

Source code (SwarmBot_microROS)