Getting wrong tire-temps and brake-temps

Tomhah

Registered
Hi,

I am working on a plugin that runs through the browser with the modern web-technology - Websockets. It works perfectly fine, but the data I am getting from the sample plugin appears to be wrong, compared to the data displayed in-game.
The tire temps I am getting are like: 298.1
And brake-temps: 302.1

This is way too high, as it in-game shows:
Tire-temps: 25
Brake-temps: 29
(I havent driven a single meter yet, thats why the temps are so low)

I am using the Renault Clio Cup Mod.

I write the temps out to a file like this:
fprintf(fo, left:%f", frontLeft.mTemperature[0]);
Where frontLeft is: const TelemWheelV01 &frontLeft = info.mWheel[0];

Any ideas?
 
Aaah, yeah, seems like that! Thanks!! :)

In the code though, it is commented like this: double mBrakeTemp; // Celsius
So I guess it's an outdated comment ;-)
 
Back
Top