joshjaysalazar / iRacingSafetyCarGenerator

Software to generate custom safety cars during an iRacing race
GNU General Public License v3.0
1 stars 1 forks source link

Option to only throw incident-based safety cars for incidents in the same part of the track #22

Open joshjaysalazar opened 1 month ago

joshjaysalazar commented 1 month ago

Is your feature request related to a problem? Please describe. As of right now, incident detection covers the entire track. So, if you have off-track detection set to throw safety cars once 4 or more cars go off at the same time, those 4 cars can all go off at different corners and still trigger the safety car.

Describe the solution you'd like An option should be added (able to be toggled on or off) which adds an additional parameter to fulfill of cars needing to be within a certain percentage of the lap distance to be counted. For example, they must all be within the same quarter of the track.

Describe alternatives you've considered This could also be done by time gap, although that would require a bit of extra math.

Additional context N/A