SenorPez / project-cars-replay-enhancer

Project CARS Replay Enhancer: Combines telemetry data with replay video to improve Project CARS replays.
MIT License
12 stars 1 forks source link

Race Start Detection Broken #62

Closed SenorPez closed 8 years ago

SenorPez commented 8 years ago

Well, this is a pickle.

In order to get Race Start detection working on the 3HR McLaren Race (which included pitstops and pauses due to the :dog: in my life), I had to change racestart detection. But that causes it to not work on races without pitstops?

Need to investigate this and have a comprehensive solution. The required test cases would be:

This probably involves a bit more (as we've previous been doing) that looking at Race State and Session State, I think, unfortunately, because those states aren't apparently enough.

SenorPez commented 8 years ago

We detect the drop of the green flag. Note that we can't use the flag field itself, since that would detect mid-race green flags following cautions.