P403n1x87 / f1-packets

Python library for the official F1 game UDP telemetry data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

F1 Packets

Python library for the official F1 game UDP telemetry data

Packet spec generation

To generate the spec from the official document, follow these steps. Make sure that cog is installed (pipx install cogapp) before continuing.

  • Copy-paste the documentation into data/spec.h
  • Comment-out (or delete) anything that is not part of the actual data spec
  • Run cog -Pr .\f1\packets.py from the root folder.

Credits

Most of the code is based on Telemetry-F1-2021.

About

Python library for the official F1 game UDP telemetry data

License:MIT License


Languages

Language:C 53.0%Language:Python 47.0%