-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
Occasional erroneous values from i2c magnetometer #5504
Comments
Did you notice anything else happen in the dataflash logs at the time of the blips? |
Nothing at the same time. |
i2c doesn't have any checksums, so this could just be bus noise. |
if we double sampled we may be able to detect these, but it would halve the sample rate and that could cause aliasing issues |
Can this be closed? |
I'm closing it and pointing to the I2C DNF as the fix. I could reproduce this problem before with noise on the I2C bus, #5935 if anyone disagrees this can be reopened, but at a minimum would need to prove that it still happens now after that patch. |
Issue details
This is a plot over 15 hours:

There are occasionally these huge outliers from the first magnetometer.
Version
Based on dab0d8e
Platform
[ ] All
[ ] AntennaTracker
[x] Copter
[ ] Plane
[ ] Rover
Airframe type
Quad
Hardware type
Pixhawk 2
The text was updated successfully, but these errors were encountered: