mrb0y / f1-22-telemetry-python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

F1 22 Telemetry

Main Source for this Project

To speed up the building of this project, the packet format was taken from this post on the Codemasters forums. Which oddly works for F1 22, which is nice.

Thanks to the hard work of the poster I was able to skip the tedious packet decoding.

Installing

pip install f1-22-telemetry

Running

telemetry-f1-22-listener

Usage

from f1_22_telemetry.listener import TelemetryListener

listener = TelemetryListener(port=20777, host='localhost')
packet = listener.get()

Releasing

pip install --upgrade build twine
python -m build
python3 -m twine upload f1-22-telemetry

About

License:MIT License


Languages

Language:Python 100.0%