Hey Jordi, nice idea, but not possible though :-(. The CU doesn't have the information if a car is on track (or doesn't provide it to be more precise), which means that I can't react on it in SmartRace. Sorry!
to bad. What about figuring it out by using other info? Not sure which detection points are available but I assume at least start finish and maybe the lane changes and pit stop adapter as well?
The thing is that I am bound to using the data the CU provides through AppConnect. And the information if a car is on track or not is not part of this data.
That I understand. But what about using other data as suggested? So you know when a car crosses the start finish. Is that all? I assume also when fueling? and what about the line changes? Even if only the start/finish then you know how long the average laptime is and if it takes for example twice as long something must have gone wrong and you can deploy the pace car.
a) A status information which contains data about the current state of the grid lights, the fuel levels of all cars, the status of all cars (e.g. if a car is currently able to re-fuel)
b) A ping with data if the finish line has been crossed. This information contains the car ID and the time which has passed since this car passed the finish line the last time.
From my point of view it is not possible to determine if a car has left the track in a reliable way. Following your suggestion, this would mean that I have to "live view" the current lap time of all the cars and deploy the safety car if the lap time for one car goes over a certain level. I don't think this is a good way to do this. Also, I didn't see any possibility to deploy the safety car programatically. AppConnect doesn't provide any API for this it seems :-(
You need to be logged in to add a comment.