Skip to main content

F1 telemetry data collection and visualisation

Project description

F1 Telemetry Data Collector

This Python application uses InfluxDB to collect telemetry data from the official F1 game.

It is also possible to display live session and car data.

Installation

The application requires Python >= 3.8 to work.

pip install pipx
pipx install f1-telemetry

Usage

Ensure that InfluxDB is running with at least an Org and an access token, and configured with an f1-telemetry bucket.

f1-tel <org> <token>

This also serves a very basic web application for telemetry and live data visualisations. With InfluxDB still running, navigate to http://localhost:20776/index.html page in the browser with the org and token parameters, e.g.

http://localhost:20776/index.html?org=P403n1x87&token=NLyjW4ml8XuTPTwCbtC5PC1Z-JJ6lwjAm7B1-ScM_XP9N_eoCkIGTmm3wHrC92cQVsMmKofgqbx6PM-ZZgVQKw==

NOTE: The application can run without InfluxDB. In this case, no telemetry data will be stored. If you are using this tool without a running instance of InfluxDB, the <org> and <token> arguments must still be provided, but they can be random values, e.g.

f1-tel no influxdb

Additional Features

TT Rival Data

When collecting data from Time Trials and competing against a rival, some of the rival's car data is also collected, like throttle, brake, speed, and gears, for comparison.

Reporting

After sessions like Qualifying and Race, the final classification data can be collected in CSV reports by passing the -r,--report option from the command line. The files are generated in the current working directory. The collected data can be useful for league coordinators.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

f1_telemetry-2023.1.5.tar.gz (195.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

f1_telemetry-2023.1.5-py3-none-any.whl (198.8 kB view details)

Uploaded Python 3

File details

Details for the file f1_telemetry-2023.1.5.tar.gz.

File metadata

  • Download URL: f1_telemetry-2023.1.5.tar.gz
  • Upload date:
  • Size: 195.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/5.15.0-1041-azure

File hashes

Hashes for f1_telemetry-2023.1.5.tar.gz
Algorithm Hash digest
SHA256 82894bf984024497924a9c5cd0faa720d7813a03bb3e7b88c6bf90b9c8d27a00
MD5 130c345e105221f3c6e9bbbea9360ac5
BLAKE2b-256 7a279b85e4fa0544785b4cddcb4dabfe33d22121bea8abfcbd48d5b976729379

See more details on using hashes here.

File details

Details for the file f1_telemetry-2023.1.5-py3-none-any.whl.

File metadata

  • Download URL: f1_telemetry-2023.1.5-py3-none-any.whl
  • Upload date:
  • Size: 198.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/5.15.0-1041-azure

File hashes

Hashes for f1_telemetry-2023.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 31f0818fc869be5ff19f050f0bc7fcc9a17b2d03b68c4487622dbf5507849fd3
MD5 6bc9a212ab36df9d848d59f776cff0d5
BLAKE2b-256 6ae5254582f4a2acd296843461524788cf871332b92f490f43ea08ba84ea2b47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page