Funbit / ets2-telemetry-server

ETS2/ATS Telemetry Web Server + Mobile Dashboard
GNU General Public License v3.0
636 stars 209 forks source link

How can I minimize the delay? #122

Open ac130kz opened 6 years ago

ac130kz commented 6 years ago

I'm sending a request to the telemetry API approximately every 3-4 ms, but the data is changing approximately every 20 ms. How do I minimize the delay of the API getting data from the game?

P.S. I also do not need every telemetry value, I'm interested only in acceleration, wears and head position

smartluo1833 commented 4 years ago

I encountered the same problem, I think reducing the delay is the key to improving the quality of the visual effect of the hub

ac130kz commented 4 years ago

@smartluo1833 it was a long ago, but I found out that it's easier to call C++ using the official SDK (there is a built-in dev mode). It's as fast as many frames you can get: 60fps = 16.6ms

Bluscream commented 4 years ago

Or use etcars plugin