-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tracks where start line of track is a high AI spline position (like 0.80) don't work well #7
Comments
I think this is more difficult than it initially seems. I wrote a workaround at c635cd0 but then I realized it probably does not work right, because AC doesn't always "start the lap timer" in the right spot -- sometimes it leaves it running. https://github.com/jamessanford/assetto-corsa-deltabar/tree/issue_7 |
commit c635cd0 probably also has bugs if you drive back and forth over the point at which the AI spline wraps |
Need time to go deeper into internal logic - right now it looks like a magic =) |
For example, the Nordshleife AI spline starts at something like 0.80, and becomes 0.00 after you've been driving a minute. The current code ties the lap start and the AI spline too closely, and also assumes the AI spline position will only increase as we drive around the track.
Here's a comment from commit d03edbe :
I think the Nordschleife doesn't work very well with DeltaBar because the AI spline doesn't "start" at the beginning of the track.
Needs some bug fixing, like "when the lap timer starts incrementing, use the current location as the start, and allow it to wrap around zero", so that a recorded Nordschleife lap can look something like "0.80", "... 0.99", "1.00", "1.10", ... "1.70", "1.79"
The text was updated successfully, but these errors were encountered: