title | layout | mathjax | permalink |
---|---|---|---|
Linux installation and setup |
default |
true |
/install-linux/ |
Use the following command to install python3 and pip packages manager:
sudo apt-get install python3 python3-pip
If you want to install only the client, run:
# Client only
pip install -U robot-soccer-kit
If you also want the game controller:
# Full (with game controller)
pip install -U robot-soccer-kit[gc]
To run the game controller: enter the following command:
python -m rsk.game_controller
We provide some scripts in the repository.
We recommend using USB external ZEXMTE Bluetooth adapter.
You need at least the 5.8.0 kernel. On Linux, it required you to install RTL driver:
# Requires root privilege
./bluetooth/install-rtl-driver.sh
Run:
sudo adduser $USER dialout
Then, log out and log in again
To pair the robots, you can run:
./bluetooth/pair.sh
Then, wait for your robots to be detected.
Note: default bluetooth PIN for robots is always 1234
Once you paired your robots, you can run:
./bluetooth/mount.sh
To mount them all as /dev/rfcomm*
devices
If you want to clean up your paired devices, you can use:
./bluetooth/remove-all.sh
To remove all paired devices.
Simply plug the camera on your computer's USB, it should work natively.