mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #230] [CLOSED] Feature: Dynamic Car Telemetry Visualization #236
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/f1-race-replay#236
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/230
Author: @MananJK
Created: 2/17/2026
Status: ❌ Closed
Base:
main← Head:main📝 Commits (10+)
0efe295Added pitwall type car visualization1a21814Merge https://github.com/MananJK/f1-race-replayc0eb3b0Elevated pitwall display2c84886Added description for the new featurecd7b3aaMerge https://github.com/MananJK/f1-race-replayd84cae6added pitwall style car imaging for drivers4a292a5Merge https://github.com/MananJK/f1-race-replaydccd6d7Merge https://github.com/MananJK/f1-race-replay7e57c5ffeat(ui): add dynamic car telemetry visualizationaacf5f6refractor(assets): move car images to images/ directory📊 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.