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
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Testing
Tested on a replay which caused significant issues with commentators hyper-focusing on stopped drivers. The behavior is significantly improved.
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.