[PR #230] [CLOSED] Feature: Dynamic Car Telemetry Visualization #236

Closed
opened 2026-05-07 00:19:20 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/230
Author: @MananJK
Created: 2/17/2026
Status: Closed

Base: mainHead: main


📝 Commits (10+)

📊 Changes

7 files changed (+355 additions, -3 deletions)

View changed files

images/cars/f1_car_hard.png (+0 -0)
images/cars/f1_car_intermediate.png (+0 -0)
images/cars/f1_car_medium.png (+0 -0)
images/cars/f1_car_soft.png (+0 -0)
images/cars/f1_car_wet.png (+0 -0)
📝 src/interfaces/race_replay.py (+13 -1)
📝 src/ui_components.py (+342 -2)

📄 Description

Description:
Implemented a new Car Telemetry Diagram for the Race Replay mode, adding a pitwall-style telemetry view for real-time driver insights.

Key Features:
-> Dynamic Car Visuals: The car image automatically updates to show the correct tyre color based on the actual compound being used (Soft/Red, Medium/Yellow, Hard/White, Inter/Green, Wet/Blue).
-> Real-time Telemetry: A clean overlay showing live Speed & Gear, Throttle & Brake bars with rolling trace graph, and DRS status (Open/Ready/Closed).
-> Toggle-able: Press [T] anytime a driver is selected to view their telemetry.
Technical Changes:

Added CarTelemetryDiagramComponent in src/ui_components.py.
Integrated 5 new high-quality car assets into images/cars/ corresponding to each tyre compound.
Updated the Help Popup to include the new [T] shortcut.
Removed unused legacy assets.

How to Test:
-> Run the viewer: python main.py --viewer --year 2024 --round 1
-> Select any driver.
-> Press [T] to toggle the telemetry view.
-> Verify the car tyres match the strategy and gauges react to lap data.

Here's a preview of the feature:

https://github.com/user-attachments/assets/403aeb6a-1280-41ea-aff1-ea6558ad73ec


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/IAmTomShaw/f1-race-replay/pull/230 **Author:** [@MananJK](https://github.com/MananJK) **Created:** 2/17/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`0efe295`](https://github.com/IAmTomShaw/f1-race-replay/commit/0efe295b4f8f426bf57d9227a306672990ec775c) Added pitwall type car visualization - [`1a21814`](https://github.com/IAmTomShaw/f1-race-replay/commit/1a218145fcf52fc1ff7a1650c32b627abe9048e4) Merge https://github.com/MananJK/f1-race-replay - [`c0eb3b0`](https://github.com/IAmTomShaw/f1-race-replay/commit/c0eb3b02e6951990cdb2fd4dbafa397ce7551096) Elevated pitwall display - [`2c84886`](https://github.com/IAmTomShaw/f1-race-replay/commit/2c84886747f1abd147420ad970d665deb4627c18) Added description for the new feature - [`cd7b3aa`](https://github.com/IAmTomShaw/f1-race-replay/commit/cd7b3aa2a7231eb9779af6e09c18b74792b971dd) Merge https://github.com/MananJK/f1-race-replay - [`d84cae6`](https://github.com/IAmTomShaw/f1-race-replay/commit/d84cae659bf3a16608dbc0a6e83929155c44cbf8) added pitwall style car imaging for drivers - [`4a292a5`](https://github.com/IAmTomShaw/f1-race-replay/commit/4a292a5c7d3bfb79dae1eda8574e9decf9413283) Merge https://github.com/MananJK/f1-race-replay - [`dccd6d7`](https://github.com/IAmTomShaw/f1-race-replay/commit/dccd6d7476d0057cdf9a7b28202071cad17abf3a) Merge https://github.com/MananJK/f1-race-replay - [`7e57c5f`](https://github.com/IAmTomShaw/f1-race-replay/commit/7e57c5f520f94df25c2e50ce67e170739b9960aa) feat(ui): add dynamic car telemetry visualization - [`aacf5f6`](https://github.com/IAmTomShaw/f1-race-replay/commit/aacf5f64159df265f84b7f193e1bc78910589d32) refractor(assets): move car images to images/ directory ### 📊 Changes **7 files changed** (+355 additions, -3 deletions) <details> <summary>View changed files</summary> ➕ `images/cars/f1_car_hard.png` (+0 -0) ➕ `images/cars/f1_car_intermediate.png` (+0 -0) ➕ `images/cars/f1_car_medium.png` (+0 -0) ➕ `images/cars/f1_car_soft.png` (+0 -0) ➕ `images/cars/f1_car_wet.png` (+0 -0) 📝 `src/interfaces/race_replay.py` (+13 -1) 📝 `src/ui_components.py` (+342 -2) </details> ### 📄 Description Description: Implemented a new Car Telemetry Diagram for the Race Replay mode, adding a pitwall-style telemetry view for real-time driver insights. Key Features: -> Dynamic Car Visuals: The car image automatically updates to show the correct tyre color based on the actual compound being used (Soft/Red, Medium/Yellow, Hard/White, Inter/Green, Wet/Blue). -> Real-time Telemetry: A clean overlay showing live Speed & Gear, Throttle & Brake bars with rolling trace graph, and DRS status (Open/Ready/Closed). -> Toggle-able: Press [T] anytime a driver is selected to view their telemetry. Technical Changes: Added CarTelemetryDiagramComponent in src/ui_components.py. Integrated 5 new high-quality car assets into images/cars/ corresponding to each tyre compound. Updated the Help Popup to include the new [T] shortcut. Removed unused legacy assets. How to Test: -> Run the viewer: python main.py --viewer --year 2024 --round 1 -> Select any driver. -> Press [T] to toggle the telemetry view. -> Verify the car tyres match the strategy and gauges react to lap data. Here's a preview of the feature: https://github.com/user-attachments/assets/403aeb6a-1280-41ea-aff1-ea6558ad73ec --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:19:20 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/f1-race-replay#236
No description provided.