⏱️Lap timing

Propertes based on recodering, storing and tracking info about your laps. Built into the plugin is a system for storing your lap records in a .csv file. This file is automatically generated in your SimHub main folder, and you can view you lap times there. The reasoning for this is that the PersistantTrackerPlugin.AllTimeBest lap times will include corner cutting/off-track lap times, as well as joker laps for rally cross, making it useless in many cases. Also, the .csv store additional information on these lap times, used for other calculations.

The plugin also features a lap time delta system, completely indenpentent from iRacing or SimHub delta telemetry. It is based on recodring your lap time at several (Around 20 per kilometer, minimum 40) checkpoints around the track; for previous lap, session best land and lap record -> and then comparing your current lap on each checkpoint. The motivation to build this system is that the delta from telemetry was often confusing and not matching session best and lap record laps. It was hard to tell what the delta was referring to. Also, last lap delta was not availble.

The downside of this delta system is that the 60 Hz data flow limits the resolution of lap timing. So the delta values produced are not accurate to the 0.001s. They are very accurate to 0.1s, and fairly accurate to the 0.01s.

The delta change properties are strings of several values that represent delta changes over a given number of mini sectors (20). This is to avoid having to make 60 properties for delta change. You can extract the sector you want using the the javascript split() command in the dashboard editor; see how I did it in Dashboard.

Name

Pace

Description

Dynamic estimation of race pace, adjusts to sudden changes in pace (damage, new tires) and excludes outlaps, inlaps and laps with time lost to crash/road-off

Type

timespan

Name

PredictedLapTime

Description

An estimation of what current lap time will be based on performance on previous laps, performance on current lap, variations in delta on current lap, distance driven and a few more factors.

Type

timespan

Name

SessionBestLap

Description

Session best valid lap time.

Type

timespan

Name

LapRecord

Description

All time best valid lap time. Stored in the LapRecords.csv file in SimHub folder

Type

timespan

Name

OptimalLapTime

Description

Fastest lap this session based on your fastest valid sector times

Type

timespan

Name

QualyWarmUpLap

Description

Whether you're on warmup lap or not

Type

boolean

Name

QualyLap1Status

Description

Lone qualify lap 1 status: 1 - Waiting, 2 - Lap started, 3 - Lap ruined, 4 - Lap finished and valid

Type

1-4

Name

QualyLap2Status

Description

Lone qualify lap 2 status: 1 - Waiting, 2 - Lap started, 3 - Lap ruined, 4 - Lap finished and valid

Type

1-4

Name

QualyLap1Time

Description

Lap time on 1st qualy lap, will show live lap time when you're on lap 1

Type

timespan

Name

QualyLap2Time

Description

Lap time on 2nd qualy lap, will show live lap time when you're on lap 2

Type

timespan

Name

DeltaLastLap

Description

Delta to last lap time

Type

seconds

Name

DeltaSessionBest

Description

Delta to session best lap time

Type

seconds

Name

DeltaLapRecord

Description

Delta to record lap time

Type

seconds

Name

DeltaLastLapChange

Description

String containing the change in delta to last lap time over 20 mini sectors, separated by a comma.

Type

string

Name

DeltaSessionBestChange

Description

String containing the change in delta to session best lap time over 20 mini sectors, separated by a comma.

Type

string

Name

DeltaLapRecordChange

Description

String containing the change in delta to the record lap time over 20 mini sectors, separated by a comma.

Type

string

Name

LapStatus

Description

Status of current lap. 1 - Valid lap, 2 - Invalid lap, 3 - Out lap, 4 - Black flag/will get deleted, 5 - In lap, 6 - Joker lap

Type

1 - 6

Name

SpeedDeltaLapRecord

Description

Delta to the car speed at the same track location on your record lap.

Type

km/h

Name

SpeedPercentDeltaLapRecord

Description

Percent increase/decrease in car speed compared to record lap at this track location

Type

percent

Last updated