Machmind-dev open-sources ROS2 drone swarm for 2026 challenge
5-drone swarm with ESP32 and PX4 finishes 4th in capture-the-flag finals
Machmind-dev has released the full open-source code and hardware designs for a ROS 2–based autonomous drone swarm that competed in the Swarm Drone Challenge 2026, a capture-the-flag scenario. The team placed 4th among six finalists with a 5-drone system that emphasizes a clean separation between coordination and real-time control. The ground station runs a deterministic commander node that assigns each drone a role—Executor, Seeker, or Leader—and streams waypoints to per-drone control topics (/gcs/drone_<id>/control) in the arena frame.
Each drone uses two microcontrollers: an ESP32-S3 running micro-ROS to bridge into the ROS 2 graph, then talks MAVLink to a PX4 flight controller in offboard mode. A second MCU, the ESP32-P4, handles onboard vision (ArUco marker detection at 320×240 resolution) and ToF obstacle sensing—all without a separate companion single-board computer. This architecture means the ROS 2 side owns high-level coordination and tasking, while the MCUs handle low-latency comms and perception. The entire stack is open-source, including ROS 2 ground station code, firmware, hardware schematics, and development media.
- 5-drone swarm uses ROS 2 ground station with commander node assigning roles (Executor/Seeker/Leader)
- Onboard dual-MCU design: ESP32-S3 runs micro-ROS bridge to PX4 flight controller, ESP32-P4 handles vision and obstacle sensing
- Open-source release includes firmware, hardware designs, and competition technical report; finished 4th of 6 finalists
Why It Matters
Provides a proven, fully open-source reference architecture for autonomous drone swarms using low-cost, off-the-shelf MCUs.