timurrrr / RaceChronoDiyBleDevice

DIY BLE device for RaceChrono, currently supports reading data from the CAN bus
MIT License
82 stars 14 forks source link

Invalid throttle calculation for NC Miata #14

Open mlyszczek opened 5 months ago

mlyszczek commented 5 months ago

Hello,

I am using your database for NC Miata - everything works great thank you for that! But calculation for my throttle position was invalid.

For me valid formula is (CAN ID 0x201). It works perfectly for my throttle pedal position from 0 to 100%

bytestouint(raw, 6, 1) / 2.0

Maybe there was some changing between vehicles? I have NCFL1 with 2.0 engine. I also have ecutek racerom, but I doubt they changed this.

If current formula works for people then maybe it would be worth to add a note about this?

timurrrr commented 4 months ago

Thanks for reporting! Unfortunately, I don't have any way to test. @jeby what do you think?