Zynerji wrote: ↑24 Feb 2020, 18:34
Juzh wrote: ↑24 Feb 2020, 18:08
Not too long ago there was a reddit thread where a user was explaining in detail how to scrape all data directly off of websocket, no OCR required, but I think it's only possible for live sessions (don't quote me on that). This way he managed to capture a bunch of data, but crucially I don't think speed traces are included.
For those really interested I suggest reading the entire thread and author's past comments:
https://www.reddit.com/r/formula1/comme ... a_sectors/
This API definitely seems more comprehensive... Awesome find!
https://github.com/Ax6/Fast-F1/tree/master/fastf1
Using this API, I've managed to do this one
Which is the same as
viewtopic.php?p=891389#p891389
The total length is different between the two pilot traces (about 2 meters) so I think the best way to handle that is to normalize the length of the lap to the circuit official length. Do you agree?
Moreover the minimum speed is at different lap position especially in the last turns, but maybe it is a symptom of an early chord point?
Leclerc lap starts at 6 m and ends at 5502.5 m (total lap length 5496.5 m).
Hamilton lap starts at 2.5 m and ends at 5505.5 (total lap length 5503.0 m).
The official track length is 5554 m.
According to you is it possible that on a qualifying lap to have such differences or is it given by telemetry approximation?
On the API documentation page there is the following warning:
Code: Select all
Absolute time is not super accurate. The moment a lap is logged is not always the same and there will be some jitter. At the moment lap time reference is synchronised on the sector time triggered with lowest latency. Expect an error of around ±10m when overlapping telemetry data of different laps.
I do not know if it applies to the above case too.