automatically deploy the safety car on accidents. Is it possible? Is it known to the system if a car is off the track?
#1From @smartrace25.11.2015, 17:52Owner
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!
#2From @vrrrrrm25.11.2015, 17:57
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?
#3From @smartrace25.11.2015, 17:59Owner
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.
#4From @vrrrrrm26.11.2015, 08:53
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.
#5From @smartrace26.11.2015, 09:25Owner
The only information I get is
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 :-(