Internal plugin V3

mika09

Hello,

I use this plugin to have live telemetry with matlab but i saw than function was call only once or twice per second, how I can improve that ? i search on plugin with visual c++ but without success ...

Tanks
 
The scoring is updated at 2Hz which is quite slow, and you can't make the game update it any faster. But the telemetry updates at 90Hz (as long as your FPS is >= 90) and contains all the 'telemetry' stuff you should need. The scoring data is mostly fine at 2Hz.
 
PS Please don't post your question in multiple forums, it just confuses everything :)
 
Ok tanks for that, can add information of scoring info on telemetry info ? lap distance for example
 
You can't make it update more often, or add it to the telemetry, no. Lap distance is limited to 2Hz only. You could delay all your data half a second and smooth the scoring data, then something like lap distance would still look 'ok' with a 2Hz source. I did something similar once for a live 'trackmap' view that relied on the scoring data; if you concentrated you could see how the speed of the moving dot changed a bit every half second, but it was good enough for the purpose.

Depending what you're doing the 2Hz may be enough; but if you're going for a time difference (like the rF2 Delta Best plugin) it won't be sufficient. For that sort of application you'd probably need to look at pulling track geometry data out of the AIW and doing your own calculations (vehicle xyz data is in the telemetry). It really comes down to what you need it for, and how much work is worthwhile.
 

Back
Top