Skip to content
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

Spikes in Gyro #25

Open
LazaroFilm opened this issue Jan 14, 2023 · 1 comment
Open

Spikes in Gyro #25

LazaroFilm opened this issue Jan 14, 2023 · 1 comment

Comments

@LazaroFilm
Copy link

Has a solution been found for dealing with the spikes in the Gyro? I'm getting random spikes when at rest that are making my fusion filter go bonkers and prevents it from settling.
Weirdly, the spikes are only on the Y axis gyro, and both on getRawGyro() and getGyro()

@LazaroFilm
Copy link
Author

As seen in this screen shot taken in x-IMU2 GUI app (I'm using Fusion to fuse the sensor data from this library).
You can see the green spikes (Y axis) on the gyro (top left), and you can see that they affect the orientation of the ARHS fusion algo.
I have noted that the spikes are always around 18.9 and -18.5 deg/s, with the decimal changing a bit (I need to take longer samples and automate the spike detection) maybe we can simply remove it at least when at rest (IE, if previous value is <1 and so is the one right after, disregard that spike... that would allow for the Fusion algo to trigger the recalibration when at rest...
Screenshot 2023-01-13 at 8 46 16 PM

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

1 participant