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

GetAngle works fine alone but "hangs" up when embedded in other sketch #24

Open
drbrodie opened this issue Dec 17, 2021 · 2 comments
Open

Comments

@drbrodie
Copy link

Using the GetAngle code I have no problems but when the same code is embedded in a much larger sketch which calls mpu.update about every 12 ms the program freezes after a minute +-. Does mpu.update need to be called more frequently? Can you suggest anything else which might be happening?

@rfetick
Copy link
Owner

rfetick commented Jan 4, 2022

Dear drbrodie,

Are the angular values diverging? It could be a memory overflow.
Clean calibration might be needed to avoid gyroscopic drift, but I am not completely sure this is your issue.

Kind regards,

Romain

@drbrodie
Copy link
Author

drbrodie commented Jan 5, 2022 via email

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