ms3-can-AFR-wrong 22.4->22.3

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Post Reply
sanec
Helpful MS/Extra'er
Posts: 36
Joined: Tue Mar 01, 2011 7:17 pm

ms3-can-AFR-wrong 22.4->22.3

Post by sanec »

ms3-pre1.3alpha8 + io-extender 0.13 + mtx-l
Left sees what MS3, right then that he sees io-extender
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: ms3-can-AFR-wrong 22.4->22.3

Post by racingmini_mtl »

As I mentioned on my forum, this seems to be a truncation issue. The 1023 raw value from the IOx (upper left gauge) should be 22.39 (as shown on the lower left gauge from the IOx) or 22.4 (as seen on the MTX-L gauge) but it seems the MS3 computations for the CAN AFR value truncates to the first decimal instead of rounding it.

The TS generated calibration (attached to the first post) does round it up so for consistency, it would be good to do it here too.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
Post Reply