While working on a plugin I noticed that the variable mEngineTorque in the InternalsPluggin.hpp is always 0 on some cars (especially for the formula e cars). The following car reported non zero mEngineRorque values: Brabham, BT20 1966 (so the problem does not seem to be my plugin code) The following cars did not report an mEngineTorque value, i.e., were always 0: Formula E 2020 Formula E 2021 BMW, BMW M4 Class 1 2021 (so it is not just a problem of the formula e cars) Background is that I want to write a plugin that can detect how often the attack mode was used in formula e, which should be noticeable through a higher engine output and hence torque. Also having a more direct measure such as the current engine mixture mode would be desirable.
Don't know if its related, but I've noticed that most of the S397 cars don't harvest a number of data samples available on 3rd party mods when using the MoTec plug-in. Its like Aero and Power data is masked. Had to create MoTec Math Channels to overcome the data loss for S397 cars. Its a crude approach but it works once the variables are benchmarked on a custom track. Hill climb for power variables, and long flat for aero & Crr variables. Plug the variables into the math channels and data is available as a close derivation. You may need to try a similar approach to derive values from other inputs.