None of this is needed for everyday work: rsim and the in-process
CustomReferee run everything headless with no external process, and
behave the same across rsim, grSim and real mode. Set these up only to run against grSim, the
official competition software, or real robots.
-
Go to the grSim repo and follow its installation steps.
-
Change the configuration to the values highlighted below:
-
To run it, execute
./bin/grSimin the cloned repo.
-
Make sure
grSimis set up and can be called from a terminal. -
git clonethe AutoReferee repo into a folder namedAutoReferee/in the repository root. -
Change
DIV_AtoDIV_BinAutoReferee/config/moduli/moduli.xml:<globalConfiguration> <environment>ROBOCUP</environment> <geometry>DIV_B</geometry> </globalConfiguration>
-
Get the latest compiled game controller, rename it to
ssl-game-controller, and save it in assl-game-controller/directory in the repository root.
Both directories are gitignored.
Only needed to test against the official referee software; the in-process CustomReferee
needs none of this. With grSim, the GameController and AutoReferee set up, start each in its
own terminal from the repository root:
grSim
cd ssl-game-controller && ./ssl-game-controller
cd AutoReferee && ./gradlew runThen run your own strategy. The GameController's web UI is at http://localhost:8081/#/match (this repo's dashboard is :8080).
-
Connect the vision Linux laptop and your own laptop to the same network (an external hotspot).
-
Allow inbound UDP packets through the vision port. With admin privileges, in PowerShell:
New-NetFirewallRule -DisplayName "Allow Multicast UDP 10006" -Direction Inbound -Protocol UDP -LocalPort 10006 -Action Allow -
Type
%USERPROFILE%into Windows + R and add a.wslconfigfile there (file type WSLCONFIG):[wsl2] networkingMode=mirrored -
Restart WSL with
wsl --shutdown, then check the connection:sudo tcpdump -i eth1 -n host 224.5.23.2 and udp port 10006If you see UDP packets, everything is working.
For the robot radio and controllers see
utama_core/team_controller/README.md.
