Skip to content

Robotic Swarm system using MQTT as the communication protocol over Wi-Fi, uses centralised master to monitor and group agents (robots) into the system.

Notifications You must be signed in to change notification settings

finn1y/SwarmRobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swarm Robot

A simple swarm robot system using MQTT protocol for messaging and HiveMQ Cloud as the online broker. Contains simulated agent written in python and real agent written in C, designd for the ESP32-DevKitM-1 board.

Install

  1. Clone the repo
git clone https://github.com/finn1y/RLTraingingEnv
  1. Install python dependencies in repo
cd SwarmRobot
pip install -r requirements.txt
  1. Apply dependency patches, described in patches
  2. Follow instructions to download and install on real robot

Run in simulation

  1. Run master on this machine
./master/master.py --simulation
  1. Run agent in a separate terminal (or in parallel with master) via env wrapper
./py_agent/env_wrapper.py

Run on real robot

  1. Run master on this machine
./master/master.py
  1. Run real robot in real env

About

Robotic Swarm system using MQTT as the communication protocol over Wi-Fi, uses centralised master to monitor and group agents (robots) into the system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published