Skip to content

Fix end-of-race leaderboard shuffling and pit lane progress jitter#296

Open
samuoliveira13 wants to merge 7 commits into
IAmTomShaw:mainfrom
JoseCostaUni:feature/leaderboard-pit-lane-fix
Open

Fix end-of-race leaderboard shuffling and pit lane progress jitter#296
samuoliveira13 wants to merge 7 commits into
IAmTomShaw:mainfrom
JoseCostaUni:feature/leaderboard-pit-lane-fix

Conversation

@samuoliveira13

Copy link
Copy Markdown

The leaderboard shuffles driver positions after they finish the race, and cars in the pit lane show erratic progress. Both are caused by always projecting (x, y) coordinates onto the track centerline.

This PR:

  • Pre-calculates each driver's finish time at startup
  • Locks their leaderboard position once they've finished
  • Uses FastF1's native dist for pit lane progress instead of projecting onto the main track spline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants