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.
- Clone the repo
git clone https://github.com/finn1y/RLTraingingEnv
- Install python dependencies in repo
cd SwarmRobot
pip install -r requirements.txt
- Apply dependency patches, described in patches
- Follow instructions to download and install on real robot
- Run master on this machine
./master/master.py --simulation
- Run agent in a separate terminal (or in parallel with master) via env wrapper
./py_agent/env_wrapper.py
- Run master on this machine
./master/master.py
- Run real robot in real env