An open API service indexing awesome lists of open source software.

https://github.com/p403n1x87/f1-packets

Python library for the official F1 game UDP telemetry data
https://github.com/p403n1x87/f1-packets

Last synced: 6 months ago
JSON representation

Python library for the official F1 game UDP telemetry data

Awesome Lists containing this project

README

          

# 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](https://github.com/chrishannam/Telemetry-F1-2021).