This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MPU-9255
#23
In my fork the most important change to the mpu9255 is that it uses the internal fifo for mag readings. It's not yet back-ported to the mpu9250, but that should be easy.

Before it would use the fifo for accel and gyro, but read the mag explicitly. This had a rather serious bug that sometimes you got mismatched high and low bytes (different samples) and it had a lot of overhead. It used too much cpu to sample the mag fast enough.

Now, you could simply read the fifo at 10hz, even though the sensors are sampled at 100hz, and it averages the 10 readings giving lower noise of 100hz sample, but updating the kalman filter at 10hz.


I think it would be great to update openplotter. Btw, I tried downloading the image and no seeds on torrent, and also mega keeps timing out on me.


As for pypilot, all the sources are released now github.com/pypilot/pypilot and you could try it. Of course, it runs it's own signalk server which doesn't completely conform to the signalk spec right now, but the differences are probably trivial. The mpu9255 must be read from the realtime process in the autopilot. You can get the data into openplotter or nodered or opencpn or whatever by connecting to the autopilot. It would be unacceptable to add any lag between reading the gyro and commanding the rudder.
Reply


Messages In This Thread
MPU-9255 - by abarrow - 2017-04-12, 07:17 PM
RE: MPU-9255 - by maxencep - 2017-05-30, 08:39 AM
RE: MPU-9255 - by Sailoog - 2017-05-30, 06:18 PM
RE: MPU-9255 - by maxencep - 2017-05-30, 06:40 PM
RE: MPU-9255 - by Sailoog - 2017-05-30, 08:04 PM
RE: MPU-9255 - by maxencep - 2017-05-30, 11:14 PM
RE: MPU-9255 - by e-sailing - 2017-05-31, 09:18 AM
RE: MPU-9255 - by maxencep - 2017-05-31, 11:54 AM
RE: MPU-9255 - by Sailoog - 2017-05-31, 04:46 PM
RE: MPU-9255 - by maxencep - 2017-06-02, 04:00 PM
RE: MPU-9255 - by Sailoog - 2017-06-02, 04:19 PM
RE: MPU-9255 - by maxencep - 2017-06-04, 09:22 AM
RE: MPU-9255 - by e-sailing - 2017-06-04, 07:35 PM
RE: MPU-9255 - by maxencep - 2017-06-13, 04:19 PM
RE: MPU-9255 - by Sailoog - 2017-06-13, 04:45 PM
RE: MPU-9255 - by maxencep - 2017-06-13, 08:02 PM
RE: MPU-9255 - by Sailoog - 2017-06-14, 05:44 PM
RE: MPU-9255 - by maxencep - 2017-06-14, 07:04 PM
RE: MPU-9255 - by Sailoog - 2017-06-14, 08:25 PM
RE: MPU-9255 - by maxencep - 2017-06-15, 03:27 PM
RE: MPU-9255 - by seandepagnier - 2017-06-18, 02:17 PM
RE: MPU-9255 - by Sailoog - 2017-06-19, 05:28 PM
RE: MPU-9255 - by seandepagnier - 2017-06-19, 05:50 PM
RE: MPU-9255 - by Sailoog - 2017-06-19, 06:18 PM
RE: MPU-9255 - by Sailoog - 2017-06-21, 05:58 PM
RE: MPU-9255 - by seandepagnier - 2017-06-21, 07:56 PM
RE: MPU-9255 - by Sailoog - 2017-06-29, 06:43 PM
RE: MPU-9255 - by seandepagnier - 2017-06-29, 08:26 PM
RE: MPU-9255 - by Sailoog - 2017-06-30, 06:00 PM
RE: MPU-9255 - by seandepagnier - 2017-06-30, 11:45 PM
RE: MPU-9255 - by Sailoog - 2017-07-01, 07:09 PM
RE: MPU-9255 - by seandepagnier - 2017-07-02, 02:07 AM
RE: MPU-9255 - by Sailoog - 2017-07-02, 01:25 PM
RE: MPU-9255 - by Sailoog - 2017-07-02, 01:28 PM
RE: MPU-9255 - by abarrow - 2017-07-03, 09:42 PM
RE: MPU-9255 - by maxencep - 2017-07-04, 09:17 AM
RE: MPU-9255 - by Sailoog - 2017-07-04, 04:00 PM
RE: MPU-9255 - by NousVoila - 2022-02-11, 02:59 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)