• Welcome to PiBoSo Official Forum. Please login or sign up.
 
October 17, 2021, 08:03:33 PM

News:

World Racing Series beta14 available! :)


Question on m_iECUState [SOLVED]

Started by HornetMaX, September 23, 2021, 01:20:24 PM

Previous topic - Next topic

HornetMaX

September 23, 2021, 01:20:24 PM Last Edit: September 23, 2021, 01:59:34 PM by HornetMaX
@PiBoSo:

looking at some telemetry I have a run by Vini in which he had engine brake at 3 and TC at 0 (off) according to m_iEngineBraking and m_iTractionControl respectively.

However, in telemetry m_iECUState the 1st bit (TC active) and the 2nd bit (EB active) are always identical, as if whenever EB is active, TC is also flagged as active (even if it was switched off).

EB fires on as expected during heavy braking (and I clearly see its impact on Throttle vs ThrottleInput), but it seems TC fires on too ?!

Is this normal / intended ?

HornetMaX

Oups, nevermind: problem was in my own code  :-[