Skip to content

Receive, interpret, and log UDP telemetry data from the F1 2019 game by Codemasters

License

Notifications You must be signed in to change notification settings

ruankie/f1-2019-telemetry

Repository files navigation

F1 2019 UDP Telemetry

Forked form this GitLab repo
Original development by Sidney Cadot

The f1-2019-telemetry package provides support for interpreting telemetry information as sent out over the network by the F1 2019 game by CodeMasters. It also provides command-line tools to record, playback, and monitor F1 2019 session data.

Usage

Setup

  1. Clone this repo
  2. Set up a separate conda environment and activate it by running:
    conda env create -f conda.yml
    conda activate f1-2019

Recording UDP packets and saving to SQL database

This section uses the f1-2019-telemetry CLI as describe in the documentation

  1. Launch the F1 2019 game.
  2. Make sure UDP telemetry is enabled in the game settings.
  3. Run the following command from the f1 conda environment (created in the setup above):
    f1-2019-telemetry-recorder -p 20777 -i 1.0

    -p is the UDP port to listen to (default: 20777)
    -i is the interval for writing incoming data to SQLite3 file, in seconds (default: 1.0)

References