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
mkdir build
cd build
cmake ..
make
sudo make install
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.