joshjaysalazar / iRacingSafetyCarGenerator

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

Incident detection #14

Closed joshjaysalazar closed 2 months ago

joshjaysalazar commented 2 months ago

Description

This update adds detection for cars stopped on track and cars off track, with adjustable parameters. It also updated the random safety car logic to work on probabilities rather than pre-generated times. A few bugs which hadn't been found yet have been fixed in this version as well.

Fixes #7 and #8

Type of change

Testing

Several tests were run with both humans and AI on track, throwing as many odd situations as we could think of at it.