Data plugin - Current Lap Time

Tokyo

Hi !

I'm building my own SLI using an arduino and a TM1638 Led module. ;)
I've been using the example plugin to get an access to the telemetry data, everything works fine. But i need a little help...
The current lap time is not available, in the example plugin source, it says it become "last", what does it mean and how can i get to the current laptime data ?

Thanks for helping me ! :D

Tokyo
 
You have to calculate this on your own by using mCurrentET from UpdateScoring and mLapStartET from UpdateTelemetry.

mCurrentET - mLapStartET = current lap still in progress.

Because mCurrentET comes from UpdateScoring it will only refresh every 500ms. If you want it to update faster you will have to do your own timer that refreshes faster. That is something you would probably just do on the Arduino.
 
Hi !

Thx for replying ! In fact i'll have to do my own timer...

Again thanks Noel :)
 

Back
Top