You are browsing as a guest. Sign up (or log in) to start making projects!

4h 48m 40s logged

PitWall Devlog 6 - Championship Battle, Overtakes, and Track Evolution

What I built

Championship Battle Tracker

get_championship_battle tracks points for a list of drivers during a season round by round and adds up the points also, tries to load a Sprint session for the same race if it exists it adds those points too, if not it just moves on since most weekends don’t have one. chart_championship_battle is the chart that shows it and it uses the team colors like the other charts and makes the line dashed if there are teammates

Overtake Analyzer

get_overtakes looks at every position swap between consecutive laps , for each pair of laps it takes everyone’s position and checks every pair of drivers to see if their order flipped, also i had to exclude inlaps and outlaps since when you pit usually you drop many positions get_overtake_summary is just a counter for the overtakes chart_overtakes shows it

Track Evolution

get_track_evolution looks at how the track itself gets faster as a session goes on, takes every driver’s laps together, sorts them by LapStartTime then tracks a running best lap and an average pace over a window chart_track_evolution visualises it

Problems I hit

  • i forgot to exclude inlaps basically the first lap out of the box when you warm the tires for the track_evolution function
0
3

Comments 0

No comments yet. Be the first!