F1 23 gap calculation
- 2 years ago
Okay, I haven't done this, so I am just talking from how I would try it first time. And I am aware that it introduces considerable error. I'll use examples from your table lap2 and lap3, at lap3 distance of 8.
Values that are used are lap3time=93, lap3distance=8, lap2time=(66+93)/2=79.5 (as they are closest to lapdistance of 8 on lap2) and this is where error is introduced. So, lap3 would be +0.013 compared to lap2
Another example for laps 2 and 3, from your full table, at lap3distance=100. Values are: lap3time=1148, lap2time=1081. So lap3 would be -0.067.
lap3distance=1002, Values are: lap3time=16019, lap2time=(16565+16591)/2=16578. So lap3 is -0.559
There are for sure better and more precise ways to do it and I am not sure how big is error without comparing it during lap with what game shows. Looking at speed in these laps it should be correct that lap3 is faster, but even with speed in first meters I would expect it to be faster, which it is not as seen in first example.