Reply To: Heading errors

Home Forums Forums Technical Support for BerryIMU Heading errors Reply To: Heading errors

#15234
Mark Williams
Keymaster

that looks better.

Question, do you have any strong magnets near you where you are doing this testing?

I assume you are using compass_tutorial03.c?
And the only modifications you have made is to add the calibration values?

Right after this line in the above code
readMAG(magRaw);

Can you add;
printf("beforeCal magRaw X %i\tmagRaw Y %i \tMagRaw Z %i ---- ", magRaw[0],magRaw[1],magRaw[2]);
And then do the same test as before were you showed us the first 100 lines or so while rotating it.

Mark --OzzMaker.com --

Blip, blop, bloop...