Teach two Waveshare JetBots how to play hide and seek in a closed arena.
- Make sure that the IP address of the server in hider_QL.py and seeker_QL.py is that of the computer that will be used as the central control unit.
- Set the number of episodes and iterations in each file (they must be equal in all three files).
- Run
$ python3 jetbot_server.py
from the central control unit. - Run
$ python3 seeker_QL.py
from the robot that will play the Seeker role. - Once the Seeker is connected to the server, a message will appear on the screen. Then, run
$ python3 hider_QL.py
from the robot that will play the Seeker role. - Follow the instructions on the screen to train the robots.