joshjaysalazar / IntelliCaster

An AI race commentator for iRacing
GNU General Public License v3.0
3 stars 1 forks source link

69 drivers who stopped on track and then left continue to get reported as being stopped on track #71

Closed joshjaysalazar closed 11 months ago

joshjaysalazar commented 11 months ago

Description

Detection of stopped drivers now goes through several additional checks to make sure the driver is on track and wasn't just reported as stopped within the last 10 seconds. There's also a new overall check in the get_next_event method which gets rid of repeat statements before picking an event to report.

Fixes #69

Type of change

Testing

Tested on a replay which caused significant issues with commentators hyper-focusing on stopped drivers. The behavior is significantly improved.