hideakitai/MPU9250

Yaw does not work properly.

dolie opened this issue · 1 comments

dolie commented

Hello,

I tried simple-with-calibration example with an Arduino Pro Micro and GY-91 (MPU9250 + BMP280).
I kept MPU9250 still during first phase 1, then I made eight-figures during phase 2 (first attempt : only on 1 axis, second attempt : on 3 axis).
Unfortunately, yaw does not seem to work properly. Here is its strange behaviour, that I tried to describe :

  • When moving from north to east, it jumps, then come back to the same value as north.
  • On the contrary, sometimes it can not retrieve same value when it retrieves same headings.
  • Sometimes, after a move, it dives slowly to a value, while I’ve been standing still for a few seconds.
  • Sometimes, it seems to change along with roll.

Am I doing something wrong ?

Thanks !

dolie commented

Wouhou 🙌🏻 it's finally working !

To make it work, I round device on 3 axis during mag calibration (as explained in README.md), instead of doing eight-figures (as explained on simple-with-calibration line 25.

It works perfectly. Thank you for this straight-to-the-point repo, and to have adapted awesome Kris Winer's work.

Regards.