A Python toolkit for communicating with grSim and SSL-Vision in the RoboCup Small Size League (SSL) environment.
- Proto Compilation — Compile
.protodefinitions to Python modules - Vision Reception — Receive real-time robot and ball positions from SSL-Vision via multicast
- Robot Control — Send movement commands (velocity, rotation, kick, dribble) to grSim
- Python 3.8+
- grSim running locally
# Create and activate a virtual environment
python -m venv .venv
.venv\Scripts\activate # Windows
# source .venv/bin/activate # Linux / macOS
# Install dependencies
pip install -r requirements.txt
# Compile proto files
python compile_proto.pyListens on multicast 224.5.23.2:10006 and prints detected robots and ball positions.
python receive_vision.pySends a movement demo (forward → stop → backward → stop → left → stop → right → stop → rotate → stop) to robot ID 0 on the blue team.
python send_robot_command.pyssl-test/
├── proto/ # .proto definitions (grSim & SSL-Vision)
├── generated/ # Auto-generated Python protobuf modules
├── compile_proto.py # Proto → Python compiler script
├── receive_vision.py # SSL-Vision multicast receiver
├── send_robot_command.py # grSim robot command sender
└── requirements.txt # Python dependencies
| Purpose | Protocol | Address |
|---|---|---|
| SSL-Vision data | Multicast | 224.5.23.2:10006 |
| grSim commands | UDP | 127.0.0.1:20011 |
This project is for educational and experimental use with RoboCup SSL.