Leaderboard Opponen...
 
Notifications
Clear all

Leaderboard Opponent Gap vs DriverAhead_00_Gap in RaceRoom

3 Posts
2 Users
0 Reactions
3,269 Views
(@roller-inside)
Active Member
Joined: 5 years ago
Posts: 9
Topic starter  

Hi

I have a dash where I have put both the "QuickText>Leaderboard>Opponent Gap" and "PersistantTrackerPlugin.DriverAhead_00_Gap"

As you can see in the image attached... the gap displayed by each one is different despite the driver ahead is the same (Matias Henkola). 

Time difference can be from several seconds sometimes.

This happens on RaceRoom.

Opponent Gap is configured this way:

GapMode: "FromPlayer"

LeaderboardMode: "Player Class Only".

LeaderboardPosition: "[DataCorePlugin.GameData.NewData.Position]-1"

Matias and me have the same car class.

 


   
Quote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 732
 

Hi !

These data are subtly different, the Opponent Gap is exclusively based on data reported by the game, while DriverAhead_00_Gap is a data computed by simhub and represents the relative gap of the player ahead (no matter if overlapped or not ...it's just ahead on track). Since this data is never given by the game I compute it myself in order to provide it, which explains this small computation difference between both data.


   
ReplyQuote
(@roller-inside)
Active Member
Joined: 5 years ago
Posts: 9
Topic starter  

Hi Wotever

Thanks for the answer.

The example I put before was a subtle difference, but sometimes the difference is quite big, in the example attached there is more than 3 seconds difference, which is around a 30% deviation. 

I don't know which one is the good one, and of course one or two tenths would not matter for this purpose... but when the distance goes bigger, the deviation goes bigger too. 

Again, thanks for the time 🙂


   
ReplyQuote
Share: