Closed jrjparks closed 9 years ago
Thanks for reporting this, James, nice find - it's gone undetected for several years and surely resulted in bogus temp readings. For backwards compatibility reasons changing the packet size will introduce some issues, so we will change this instead to use encode/decodeProtocolUint16, followed by divide by 1000, to get a temp range up to 65C, well beyond the maximum. I'll send out an update in a few days.
This issue is now resolved with recent check ins. A full build is available at navx-mxp.kauailabs.com.
The Gyro/Raw Data Update packet is too small for the data. IMUProtocol.h - Line 78
The size of
GYRO_UPDATE_TEMP_VALUE_INDEX
is 4 when it should be 7 as it usesencodeProtocolFloat
to encode/decode the data