bppr / Stuart

A very basic IRSDK-JS-Electron proof of concept
3 stars 1 forks source link

Race proficiency qualification #5

Open zzm634 opened 2 years ago

zzm634 commented 2 years ago

To qualify for participation in a race, drivers must demonstrate that they can complete a lap within a specific percentage of the fastest lap of the fastest driver, or complete a specific number of consecutive clean laps. (or both?)

When the race session starts, I should be notified of any drivers who did not complete a qualifying time or practice lap time within 107% (configurable) of the fastest qualifying or practice lap from the fastest driver, or who did not complete 5 (configurable) consecutive clean laps in practice or qualifying (or both).

The penalty for this is disqualification.

bppr commented 2 years ago

We'll have to track sessions and detect session progression from Practice to Qualifying to Race.

We'll have to track and save lap data for practice and qualifying (fastest lap is available in sessionInfo, but we may have to detect lap progression ourselves for counting clean laps)