Hi PiBoSo,
i'm trying to read live timing data from a dedicated server. I'm stuck on the CLASSIFICATION message. Specifically some lines for various sessions that i can't map.
I'm resuming the block of lines from your post:
CLASSIFICATION
Session
Status
Session Timer (milliseconds)
Session Length (minutes)
Session Lap
Number of Laps
for each entry:
Race Number
if the session is practice (practice, qualify, warmup)
Best Lap (milliseconds)
if the best lap is not zero
Lap Number
Total Laps
Gap (milliseconds, -- if zero)
Speed Trap (meters/s)
endif
else
Race Time (milliseconds) or Status (DNS/DSQ)
if Race Time is not zero
Lap Number
Gap (milliseconds or L if lapped)
endif
endelse
Bike Status (TRK/PIT)
endfor
Empty string after the last entry
For practice, I receive this:
CLASSIFICATION
PRACTICE <- session
INPROGRESS <- status
300000 <- timer
5 <- session length
1 <- session lap
0 <- number of laps
1 <- ?
1 <- ?
1 <- ?
94 <- number rider
107619 <- best lap
1 <- lap number
1 <- total laps
-- <- gap
278.9 <- speed trap
TRK <- bike status
What are the three 1s? The same question applies to the qualify.
For the race instead:
CLASSIFICATION
RACE <- session
INPROGRESS <- status
133409 <- timer
0 <- length
1 <- lap
3 <- number of laps
2 <- ?
1 <- ?
1 <- ?
94 <- number rider
101801 <- race time
1 <- lap number
-- <- gap
-- <- ?
Here is also a final --. Additionally, the bike status (TRK/PIT) does not seem to be present.
Edit: Is it possible that the final "--" is it the status that is null in the race?
Thank you.
I also add a request:
from what the SPLIT messages return I see 0, 1 or 2 so when the lap has already started. Would it be possible to also add when a driver starts the lap? For example:
SPLIT
94
INIT
---
Thank you
It's still me ;D I would ask another request if possible:
Would it be possible to add the best of the various splits in CLASSIFICATION for each rider in addition to the best lap?
Thank you
Updated the live timing documentation: https://forum.piboso.com/index.php?topic=5419.0
Quote from: Ricoway46 on November 12, 2023, 02:42:44 PMI also add a request:
from what the SPLIT messages return I see 0, 1 or 2 so when the lap has already started. Would it be possible to also add when a driver starts the lap? For example:
SPLIT
94
INIT
---
Thank you
Ok, added to the TODO list.
Fantastic! Thank you very much :D
Quote from: Ricoway46 on November 13, 2023, 09:21:47 PMIt's still me ;D I would ask another request if possible:
Would it be possible to add the best of the various splits in CLASSIFICATION for each rider in addition to the best lap?
Thank you
Just for the "practice" sessions, or race, too?
Quote from: PiBoSo on November 16, 2023, 02:17:03 PMQuote from: Ricoway46 on November 13, 2023, 09:21:47 PMIt's still me ;D I would ask another request if possible:
Would it be possible to add the best of the various splits in CLASSIFICATION for each rider in addition to the best lap?
Thank you
Just for the "practice" sessions, or race, too?
Since you have to modify it anyway, it would be nice to have it also in the RACE as well at this point! If it's not a problem, of course!
Thank you very much.