JohnW63
I am learning how to edit the plugin file for rFactor, and as a start, I am only outputing the tire temps. That part works, but the data I am getting is not what I expected. The units shown in the comments say that it should be in Celsius, but the numbers are coming out like this:
Wheel=FrontLeft
TireTemp(l/c/r)=362.5/362.5/362.5
Wheel=FrontRight
TireTemp(l/c/r)=362.4/362.4/362.5
Wheel=RearLeft
TireTemp(l/c/r)=362.4/362.4/362.4
Wheel=RearRight
TireTemp(l/c/r)=362.4/362.4/362.4
Now, I may be years out of college, but I'm pretty sure 362 Celsius is NEVER seen on a racing tire. The stock fprintf statement is:
fprintf( fo, " TireTemp(l/c/r)=%.1f/%.1f/%.1f\n", wheel.mTemperature[0], wheel.mTemperature[1], wheel.mTemperature[2] );
So, that is just a floating point number with a single digit passed the decimal.
Point me in the right direction please.
Wheel=FrontLeft
TireTemp(l/c/r)=362.5/362.5/362.5
Wheel=FrontRight
TireTemp(l/c/r)=362.4/362.4/362.5
Wheel=RearLeft
TireTemp(l/c/r)=362.4/362.4/362.4
Wheel=RearRight
TireTemp(l/c/r)=362.4/362.4/362.4
Now, I may be years out of college, but I'm pretty sure 362 Celsius is NEVER seen on a racing tire. The stock fprintf statement is:
fprintf( fo, " TireTemp(l/c/r)=%.1f/%.1f/%.1f\n", wheel.mTemperature[0], wheel.mTemperature[1], wheel.mTemperature[2] );
So, that is just a floating point number with a single digit passed the decimal.
Point me in the right direction please.