title | layout | mathjax | permalink |
---|---|---|---|
Windows installation and setup |
default |
true |
/install-windows/ |
You need to have Python version 3.8 or newer.
- You can install Python from the Windows Store
- Or download the installer for Python 3.11
You can download the following repository:
Then, un-zip it, and run:
install.bat
to start installing Python package (with Game Controller and Simulator)install_client.bat
to start installing Python package (client only)game_controller.bat
to run the Game Controller with the real systemsimulator.bat
to run the Game Controller with the simulated environment
- You can install VSCode (Visual Studio Code) from the Windows Store
- Or download the installer for VSCode
If you use the Getting started scripts, you can skip this section. Here are the command lines that are actually run by
Note: If python
command is not working, use py
instead
If you want to install only the client, run:
python -m pip install -U robot-soccer-kit
If you also want the game controller and the simulator:
python -m pip install -U robot-soccer-kit[gc]
To run the game controller with the real system: enter the following command:
python -m rsk.game_controller
To run the game controller with the simulated environment: enter the following command:
python -m rsk.game_controller -s
We recommend using USB external ZEXMTE Bluetooth adapter. On Windows, the drivers are automatically installed from internet.
If you already have native Bluetooth on your computer, you can give it a try. If it doesn't work well, don't forget to disable it before using the USB dongle by going to "Devices Manager".
To pair the robots, simply go to your Bluetooth menu and pair them one by one. If you encounter issues, do not hesitate to disable and re-enable your Bluetooth.
Note: default Bluetooth PIN for robots is always 1234. (No PIN is required for robots named "RSK")
Note 2: You will NOT have to pair the robots again after each restart of your computer, only if you bring in new robots.
Click on
Simply plug the camera on your computer's USB, it should work natively.