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

Faster Better Tuning +plus #459

Merged
merged 2 commits into from
Jul 25, 2019
Merged

Faster Better Tuning +plus #459

merged 2 commits into from
Jul 25, 2019

Conversation

ZHomeSlice
Copy link
Contributor

@ZHomeSlice ZHomeSlice commented Jul 24, 2019

I found some more bugs with the offset tuning PID loop and so I reworked it.
Offset tuning calculations are now super fast and more accurate than before.
Added auto-detection for MPU9250 and MPU6500 so the calibration happens without any direct programming changes.
I also corrected a couple of coding errors.
Original code "get and
setXAccelOffset" can now detect which MPU(6050,6500,9150,9250) we are connected to and manage the offsets in their correct registers automatically.

I found some more bugs with the offset tuning PID loop and so I reworked it.
Offset tuning calculations are  now super fast and more accurate than before.
Added auto detectiion for MPU9250 and MPU6500 so the calibration happens without any direct programming changes.
I alos made 1 or two minor coding errors.
Origional code "get and
 setXAccelOffset" can now detect which MPU we are connected to and manage the offsets in their correct registers automatically.
@jrowberg jrowberg merged commit 97c7039 into jrowberg:master Jul 25, 2019
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.

2 participants