Skip to content

Offset registers always read 0 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sfe-SparkFro opened this issue Aug 18, 2024 · 1 comment
Open

Offset registers always read 0 #1

sfe-SparkFro opened this issue Aug 18, 2024 · 1 comment

Comments

@sfe-SparkFro
Copy link
Collaborator

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

@SizzinSeal
Copy link

SizzinSeal commented Feb 2, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants