Open Tom-Archer opened 3 months ago
Is this due to the position of a driver's garage in relation to the timing beam. I.e. VER crosses the timing beam after his 3rd lap in Q1, technically starting his 4th lap. The 4th lap isn't completed until the end of his out lap in Q2?
This will be either due to the position of the garage or because drivers start lining up at the red light at pit exit. Either way, the most probable cause is that they cross the timing beam before the start of the next qualifying session, as you suggested. The fix should be fairly straightforward. There likely just needs to be some more logic added to differentiate between in-laps and out-laps to differentiate between crossing the timing beam on the way in or on track versus on the way out. PRs are welcome for this :)
Describe the issue:
Attempting to use "split_qualifying_sessions" and "pick_drivers" doesn't seem to correctly split the laps.
See the output from the code example. Lap 15 is actually a Q2 lap. Lap 18 is actually a Q3 lap.
Reproduce the code example:
Error message: