sparkfun/SparkFun_Optical_Tracking_Odometry_Sensor

Offset registers always read 0

Opened this issue · 1 comments

The root problem is updatePoseFromHostShadow() does not set register contents. That should be done after checking if allRegsWritten is true.

Setting the offset will sometimes fail without the Linux I2C/SMBus subsystem reporting an error. While this may not be an issue regarding this repository, not being able to verify the offset being set is.

Unlike other configuration commands like setting the angular scalar, we can't get the offset from the sensor to verify it has been applied properly. This is a major concern for my team, as it's only a matter of time this leads to a failure outside of testing.