No description
proto | ||
.gitignore | ||
__init__.py | ||
README.md | ||
receiver.py | ||
recorder.py | ||
replayer.py |
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
.