hideakitai / MPU9250

Arduino library for MPU9250 Nine-Axis (Gyro + Accelerometer + Compass) MEMS MotionTracking™ Device
MIT License
279 stars 92 forks source link

Obromios bug fixes #50

Closed obromios closed 3 years ago

obromios commented 3 years ago

This is similar to PR #49 but with experimental features and calibration enhancements removed.

Fixes for issue #33 (Intermittent errors in reading mag data)

Fix for issue #34 (Gyro readings noisy)

Fix for issue #39 (initMPU9250() is not initializing the accelerometer)

Fix for issue #45 (Consistent use of fuse values)

Fix for issues #46, #48, #42 and #30.

These issues are

Partial support for NWU coordinate systems

hideakitai commented 3 years ago

@obromios I've also fixed coordinate issues in 23fb7d961164543e55c2815e0aad5f378aa672a3 .

I've selected to revert calculation to NED and just flip the direction to get euler angles. Maybe a series of commits fixes all issues you have listed, and if you agree and can confirm if it works, I will merge the branch. How do you think about it?

obromios commented 3 years ago

@hideakitai, I have checked and the NED angles appears to be correct. I think all the other changes appear to work. It is looking good.

Chris

hideakitai commented 3 years ago

@obromios If you can agree with my changes, can I merge the branch above into the main branch instead of this pull request?

obromios commented 3 years ago

I assume by the branch above you mean https://github.com/hideakitai/MPU9250/tree/bugfix_obromious. I agree with merging that branch.

hideakitai commented 3 years ago

@obromios Thank you, please open the new pull request if you have additional suggestions. Thank you so much for your huge contribution!

hideakitai commented 3 years ago

Fixed in v0.4.3