Skip to content

JosiahYeater/f1-lap-comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

F1 Lap Comparison Tool

License: MIT

Welcome to the unofficial F1 Lap Comparison Tool, powered by the fastf1 Python library!

This console-based tool allows you to compare telemetry data like speed, throttle, brake, and gear across different drivers in a selected Formula 1 Grand Prix session.

Tested in Python 3.8.


Features

  • Select any F1 season year between 2018 and 2024
  • Choose from all Grand Prix events in the selected year
  • Pick session types: Free Practice 1 (FP1), Free Practice 2 (FP2), Qualifying (Q), or Race (R)
  • Compare telemetry data (Speed, Throttle, Brake, Gear) between multiple drivers
  • Visualize telemetry data with clear plots

Installation

  1. Clone the repository:
    git clone https://github.com/JosiahYeater/f1-lap-comparison
  2. Navigate to the tool:
    cd f1-lap-comparison
  3. Install the required Python packages:
    pip install fastf1 matplotlib

Usage

Run the tool via the command line:

python lap_compare.py

Follow the on-screen prompts to:

  • Select the year
  • Pick the Grand Prix
  • Choose the session type
  • Select the drivers to compare
  • Pick the telemetry data metric

A plot will be displayed comparing the chosen telemetry data for the selected drivers.

Screenshot of telemetry comparison plot output

Screenshot of telemetry comparison plot output


Acknowledgments

  • fastf1 — Python library for accessing F1 data
  • Matplotlib — Python plotting library
  • Thanks to ChatGPT (OpenAI) for help with Python structuring and documentation

License

This project is licensed under the MIT License. See the LICENSE file for details.


Contact

Created by Josiah Yeater.

Feel free to open issues or submit pull requests!

About

"Basic telemetry comparison tool using FastF1"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages