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

I made a few changes to adapt to my hardware. #10

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

Zhaosn
Copy link
Contributor

@Zhaosn Zhaosn commented Jan 31, 2024

Zhaosn and others added 3 commits January 29, 2024 15:06
…works). Modify the calibration of the MPU6050 project that I think is bug (upgrading the library causes some conflicts, so I extracted and modified it)
@Zhaosn
Copy link
Contributor Author

Zhaosn commented Jan 31, 2024

This line of code may not be needed, the opentrack I'm using jerks at 180/-180 values (or maybe it's because I haven't updated it for a while (23.1.0))

lastMeasurement.yaw -= M_PI;

@Zhaosn
Copy link
Contributor Author

Zhaosn commented Jan 31, 2024

something wrong, need debug, sorry for disturb

@Zhaosn Zhaosn closed this Jan 31, 2024
@Zhaosn
Copy link
Contributor Author

Zhaosn commented Jan 31, 2024

I must say that when I put the modified MPU6050.cpp into the example provided by the library (both 1.3.0 and 0.5.0 work) it completes the calibration very quickly. But as soon as it is in this project it does not converge at all. And I have absolutely no clue why this is happening!? Theoretically the calibration for gravity doesn't change anything?????

@Zhaosn Zhaosn reopened this Feb 1, 2024
@Zhaosn Zhaosn changed the title I made a few changes to adapt to my hardware, and may need to rewrite the code that invokes the mpu6050 library in the future I made a few changes to adapt to my hardware. Feb 1, 2024
Zhaosn and others added 2 commits February 6, 2024 14:23
My commit logs are so messed up. I may need to merge some of them, but I don't know how to learn it yet
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

Successfully merging this pull request may close these issues.

1 participant