Skip to content

Adds each F1-2021 lap's telemetry to a CSV file, which can then be plotted in your favorite plotter.

License

Notifications You must be signed in to change notification settings

leroythelegend/ris-f12021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

F12021 UDP Telemetry to CSV File.

Command line tool for creating a CSV file of the drivers telemetry per lap using the F1 2021 UDP API.

The CSV files can then be used in a plotter.

For Example using PlotJuggler

Plotjuggler example

Table of Contents

Installation
Usage
License

For Linux and Mac users

mkdir build
cd build
cmake ..
make
sudo make install

For windows

This is what I did to build on windows (I'm no expert on windows)

  • Installed free version of visual studio
  • Installed vscode
  • Open the repo in vscode
  • Installed the C++ intelliSense from microsoft
  • Installed the CMake Tools plugin from microsoft
  • VSCode had a pop-up to configure to use CMake, I clicked yes
  • Then clicked the build button at the bottom of VSCode
  • This then built the executables in ./build/Debug

I have included F1 2021 UDP Guide in the docs dir, there is a section "How do I enable the UDP Telemetry Output?".

NOTE The CSV files are written to the same directory (folder) the executable is run from.

Open a terminal and run (Windows users may need to set the PATH environment variable to the executable (risf1))

risf1 [port number (Default 20777)]

For Example

risf1 20777

Then loadup the CSV file in you favorite Plotting software.

ris-f12021 is licensed under the Apache License 2.0, which means that you are free to get and use it for commercial and non-commercial purposes as long as you fulfill its conditions.

See the LICENSE file for more details.

About

Adds each F1-2021 lap's telemetry to a CSV file, which can then be plotted in your favorite plotter.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published