- python 3.12
- poetry
- docker
- SSL-Vision (physical only)
- VNC Client
Some distros already comes with a VNC Client, like Remmina (Ubuntu) or Connections (Fedora). If yours don't have one, you can choose the option you like best.
python -V # or python3 -VIf you have a different version install 3.12 through pyenv. You can reference the pyenv installation guide
Follow the poetry installation section
poetry install- Follow the guide for your linux distro
- Follow the post-installation steps to be able to run docker commands without
sudo - Install docker compose
Use the guide provided by the category. Be sure that you have all the dependecies packages installed.
Before anything, you will need to add a permission to docker show the application's gui. This can be done by running the following command:
xhost +local:docker > /dev/nullThis always needs to run before the autoref container runs.
You can avoid having to run this everytime by adding this command to your Shell RC file.
If you have the default shell, add the command to the end of the .bashrc file.
You can do this through:
echo 'xhost +local:docker > /dev/null' >> ~/.bashrcNow you can start running the containers. There are two ways, by using compose or by running both images separately.
docker compose up # at the project's base path# First term (grSim)
docker run --net=host -eVNC_PASSWORD=vnc -eVNC_GEOMETRY=1920x1080 robocupssl/grsim vnc# Second term (auto-ref)
docker run --net host -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY tigersmannheim/auto-referee-vncIn your VNC Client enter the following address: localhost:5900, choose VNC as the connection type. When starting the connection a password will be requested, input "vnc"
After connecting to the container, you already face grSim, you will need to make a couple of adjustments:
- Under Geometry > Game > Division, change to "Division B" in the dropdown
- Under Geometry > Game > Robot Count, change to 6
- Under Communication > Vision multicast port, change to 10006
After this changes you should be able to see the robots displayed in the auto-ref field.
In the project's base path, run:
poetry run neonfcDone!
-- Complete here --