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
#30
(2017-06-30, 06:00 PM)Sailoog Wrote: RTIMULib2 seemed to be the best option when we were looking for a multisensor IMU solution.

probably still is.

Quote:Having you on board would be a great boost to openplotter, thanks.

So, we would have 3 options:

1- Fixing RTIMULib2 to digest your changes. We could keep managing IMUs with it and we try to implement pypilot as an independent tool.
2- Separate IMU management from "I2C" tab and create a new "IMU" tab for interacting with pypilot as you propose.
3- Switch to pypilot as signal k server.


Personally I would go with the second one. Switching to pypilot as main signal k server would be really traumatic right now and we need an stable version asap, maybe we can try on next stable version.

I agree with #2 for now.   The third option would cause major breakage and actually might never make sense.  My version of signalk is not compatible at the moment either.   The autopilot doesn't need to care about this other stuff, ever.  Although bilge level might help...

Now, with #2, you could simply connect to the autopilot server to retrieve things like pitch or heel.   The subscription would be canceled if the data isn't needed.
Quote:Regarding option 2,
is pypilot able to drive as IMU types as RTIMULIb2 do?
pypilot uses RTIMULib2, at least my modified version of it.   I am sampling all sensors at 100hz.

Quote:if we have 2 signal k servers, what about performance?
Could it be possible having those pypilot tools (calibration, inercial sensor viewers...) on "IMU" tab?

I think performance is ok.    Since openplotter typically runs on a raspberry 2 or 3.

I target the raspberry pi zero at only 700mhz, with only 25% cpu usage in the worst case.  This is including running a web control app, and lcd screen over spi.

The core autopilot is about 12-15% of a 700mhz armv6 core.  Right now anyway.  When it gets smarter it will use more, but this is typically idle cpu.   I also can optimize it a bit more to make it even more efficient.   Basically it's < 3% of a raspberry 3 processing power.



As far as the tools on the IMU tab.  Of course it's possible.   All the clients already communicate to the autopilot server via signalk, so they can run anywhere.   Since openplotter is written in python, and I already have tools using wxwidgets in python, you could probably just drop them into a tab without actually writing much code.

I just got everything working perfectly on an orange pi zero today!   Maybe the orange pi is an openplotter candidate as well?
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)