OpenMarine
MPU9250 heading is slowly drifting - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18)
+--- Thread: MPU9250 heading is slowly drifting (/showthread.php?tid=2210)

Pages: 1 2 3 4 5 6 7 8 9 10


RE: MPU9250 heading is slowly drifting - seandepagnier - 2020-01-19

if pitch and roll are mixed up you likely need a 90 or -90 heading offset.


RE: MPU9250 heading is slowly drifting - seandepagnier - 2020-01-20

I have calibration working in python3 in git now.


RE: MPU9250 heading is slowly drifting - ddelorme - 2020-01-20

Where is offset now?


RE: MPU9250 heading is slowly drifting - It Paradyske - 2020-01-20

Yes I can confirm that! Holding my boat against all 6 sides of a box in all kinds of directions so I get 6 points in directions in the acceleration sphere window.
And than it was calibrated, and also the compass was calibrated.

Great job!


RE: MPU9250 heading is slowly drifting - Sailoog - 2020-01-20

I can not test it until tomorrow but I trust you Smile

I have applied latest pypilot changes to openplotter-pypilot 2.0.5-beta. If you have already installed this version do it again and repos will be updated. If no more issues are reported we will go to stable.

thanks Sean!


RE: MPU9250 heading is slowly drifting - Opie91 - 2020-01-21

I was able to get the acceleration to calibrate and then set the alignment, but not the compass would not calibrate. The heading is slowly drifting about .5 deg/minute. Not completely convinced that my problem is not a bad batch of MPUs.

Ordered another one that should be here tomorrow. Ill try it out and report back.


RE: MPU9250 heading is slowly drifting - seandepagnier - 2020-01-21

It is sometimes possible to determine if the imu is bad by looking at the raw sensor outputs


RE: MPU9250 heading is slowly drifting - Johnnysails - 2020-01-21

Testing Openplotter on rpi4 4gig using Buster. Been experiencing issues with imu readings. Installed PyPilot 2.0.5 last night and readings seem to have stabilised. An issue I can’t resolve is the calibration alignment screen. The screen doesn’t display correctly, see screenshot, and I can’t adjust the compass offset. Display is using realVNC on an iPad 1024x768 also tried on HDMI but no different. Any suggestions.

   


RE: MPU9250 heading is slowly drifting - jim321 - 2020-01-21

have you tried it in full screen .?


RE: MPU9250 heading is slowly drifting - seandepagnier - 2020-01-21

the boat is not rendered with python3. This is an issue with the opengl driver on raspberry pi, and pywavefront does not handle it correctly. The driver reports that it has a particular function that the library does not define.