No description
Find a file
2025-07-02 16:41:03 +02:00
proto Chore: use full proto to avoid confusion 2025-07-02 15:31:05 +02:00
.gitignore Chore: initial commit 2025-07-02 14:59:18 +02:00
__init__.py Chore: initial commit 2025-07-02 14:59:18 +02:00
README.md Chore: update docs 2025-07-02 15:18:22 +02:00
receiver.py Chore: ignore irrellevant packets 2025-07-02 16:41:03 +02:00
recorder.py Chore: add some documentation 2025-07-02 15:14:37 +02:00
replayer.py Chore: add some documentation 2025-07-02 15:14:37 +02:00

scstw-proto-udp-examples

This repo contains example code for using the ScStw-proto UDP-interface.

receiver.py

Minimal example implementation for receiving and decoding packets. Listens to 0.0.0.0:4999. You need to install the protobuf package for this to work.

replayer.py

Script to replay some example races. Useful if you don't have access to a ScStw during development. After you select a recording, it will send udp packets to 127.0.0.1:4999. The packets are sent with realistic timing. You may use the receiver.py script to inspect them.

recorder.py

Script to create recordings for use with replayer.py.