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) |
MPU9250 heading is slowly drifting - It Paradyske - 2020-01-06 Hi, thanks for all the great work! I am currently testing with a MPU9250 connected, and there seems to be a problem with an offset? In the window "alignment" from Calibration PyPilot, the boat is slowly spinning in all 3 axis. Pitch, Roll, Heel and Heading slowly drift with a couple of degrees per minute. Image is that of 16-12-2019, both on Pi3 and Pi4 I see the same drifting problem. On the old image (Openplotter 1.0.0) on the same hardware (pi3): the thing is stable. Are more people experiencing this? Regards Hans RE: MPU9250 heading is slowly drifting - seandepagnier - 2020-01-07 can you plot the gyro and gyrobias values? It could be that the gyrobias is large and has not averaged out yet which could take a while. Maybe the openplotter setup has run for longer? RE: MPU9250 heading is slowly drifting - It Paradyske - 2020-01-07 (2020-01-07, 12:00 AM)seandepagnier Wrote: can you plot the gyro and gyrobias values? The gyrobias is varying slowly it seems... Upper lines are the bias. RE: MPU9250 heading is slowly drifting - It Paradyske - 2020-01-07 (2020-01-07, 03:33 PM)It Paradyske Wrote:(2020-01-07, 12:00 AM)seandepagnier Wrote: can you plot the gyro and gyrobias values? Correction, there is a third one, much lower also, is that correct? RE: MPU9250 heading is slowly drifting - seandepagnier - 2020-01-07 Is the boat still spinning? It seems the gyrobias is not the problem. RE: MPU9250 heading is slowly drifting - It Paradyske - 2020-01-08 (2020-01-07, 10:21 PM)seandepagnier Wrote: Is the boat still spinning? It seems the gyrobias is not the problem. No the "boat" is stationairy on my desk. Is there a way to reset the compass calibration? Only pressing clear does not seem to work. The calibration remains on 0.0, 0.0, 0.0, 30.0, 0.0 The red part in the plot is a disc, not a cone. It looks like the pypilot.conf is not read at startup. RE: MPU9250 heading is slowly drifting - ddelorme - 2020-01-08 (2020-01-06, 09:39 PM)It Paradyske Wrote: Hi, thanks for all the great work!I have the same issue pypilot ver 2.0.4 previous version no problem.. picking autopilot crashes rpi. my spinning is much faster. and in the scope there is a definite oscillation very regular. RE: MPU9250 heading is slowly drifting - seandepagnier - 2020-01-08 To be clear, this is an issue only with openplotter correct? Can you try the latest tinypilot image? It's very possible the wrong rtimulib2 is being used or something is interfering with it. It would be very useful if you can find the last version which worked. If a previous version worked it should be possible to find the problem using git-bisect. RE: MPU9250 heading is slowly drifting - ddelorme - 2020-01-08 The last version worked i did the update via Openplotter yesterday . TinyPilot? Never mind i just did a apt update and what ever was installed corrected the issue. I will try the autopilot now Well engaged the autopilot and moved the activator a few time then it crashed. Code: Message from syslogd@openplotter at Jan 8 13:41:14 ... The last thing i did was resize the screen but when i did a reboot it crashed rather with in a minute. rebooted again a quickly change back to compass only. it seems stable now. RE: MPU9250 heading is slowly drifting - Sailoog - 2020-01-09 Can you describe your openplotter installation? from our images? from Raspbian? from another debian flavor? use openplotter-settings to update openplotter apps, do not use apt. |