stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

5h 25m 31s logged

vroom vroom, Devlog 10: ITS LIGHTS OUT AND AWAY WE GO (untested) pt.2

yes im very creative with my devlog names :yay:

and like in pt.1, ive just finished my longest work session EVER. but the process sure makes it worth it.

first and foremost, the electron stuff is ready, so P1xp is now capable of invading your desktop! isnt that so cool?

the new live session data fetcher is now ready to be tested! its, in short, a signalR core client in the electron main process that connects straight to f1’s own live timing feed, which is hosted in their servers. unlike openf1, this one is free and requires no account to access live data.

due to f1’s feed being completely different from openf1’s as it sends partial deltas (so one driver and one field at a time), a naive merge wipes data it didnt mention. so, ive created a new converter that keeps a cache per driver and always emits complete rows, so the timing tower, track map, radio, and race control panes all project live data without a single change to any of them directly.

in demo mode, the circuit outline for the track map comes from replaying a lap of position data. when live, theres no history. instead, the app accumulates each car’s trail as it goes and draws the whole circuit in roughly the first minute of running.

IN THEORY (again), this should be a definite, fully functional build of P1xp. like before, i still need to test it live, so this week’s singapore gp will be my new test dummy. i created a recorder in the client thats capable of dumping every raw frame f1 sends to a file, plus a tool that reads a recording back and summarises what arrived. this allows me to have a recorded copy of singapore fp1 i can use as a permanent test fixture in case something doesnt work as intended during live testing.
i really hope this works, im slowly going insane…

0
51

Comments 2

@Charlie_Coder

Hi, this is a really cool project! I was just wondering if anything works without F1TV subscription? I know of an api that gets some of the data for free, but I’m not sure how much you have chosen to do on here?

@starvulkan

heya @Charlie_Coder ! thanksss!! and regarding your question, yes, you don’t need a F1 TV subscription to use the app itself, its just like a live session layout bonus of sorts. I’ll explain the whole thing to you through slack!