You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P6 motor temp: correct encoding, was reading MOS by mistake
Two new labelled captures (164349 / 164427) had MOS / IMU / Motor
labelled side-by-side with the wheel UI. Motor went 63 -> 63 -> 62 ->
62 -> 61 °C while the byte at offset 31 went 240 -> 239 -> 238 -> 238
-> 237. Linear fit nails the encoding:
motor_C = (body[31] − 145) / 1.5
Within 0.3 °C of every labelled value across 9 samples and both logs.
Bonus finds from the same labels:
MOS = body[28] (direct °C, exact match every time)
IMU = 62 − body[78] (3 labels at 42/42/43 °C ↔ bytes 20/20/19)
The earlier `°F = byte − 126` fit on body[32] was tracking the
controller-MOS sensor, NOT the motor — that's why the rider's
26 °C reading didn't line up with the wheel UI's 33 °C.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments