Open joshjaysalazar opened 6 months ago
I'm pushing this to v0.2, as it's not critical to functionality, nor would it significantly change the program behavior. It's still worth doing down the road, but it doesn't need to be done for this version.
It turns out this is pretty significant when the leader pits under safety car, so I'm moving this back to a v0.1 fix. It's officially the cause of issues, and needs to be addressed.
The safety car's index can be gotten from ir["DriverInfo"]
. There's a key in there, PaceCarIdx
.
Is your feature request related to a problem? Please describe. With the latest version of the SDK, data about the safety car (namely, whether or not it's in the pits, and where it is on track) is now accessible when in a replay. This may be the case when on track as well, and if it is, it should be used.
Describe the solution you'd like The safety car's telemetry should be added, as both safety car periods and rolling starts can benefit from this information.
Describe alternatives you've considered N/A
Additional context N/A