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
Pypilot
#21
(2017-07-10, 06:23 PM)Sailoog Wrote: It is important for us that we could use more than one IMU model. Despite being optimized for MPU-9255, it seems to me that I am getting good result with LSM9DS0.

After following your moving instructions I get a first fix after less than a minute and I keep getting fixes.
Code:
{"imu/compass_calibration": {"value": [[-4.188, -1.277, 4.439, 42.134, 0.839], [-4.192, -1.287, 4.04, 42.462], [-4.192, -1.287, 4.04, 42.462, 1.0, 1.0]]}}



Do you think this is acceptable? I do.
I have no way of judging just from the calibration. If you get good compass readings maybe it's good?
Quote:I have already an idea to implement pypilot to openplotter. The plan is to fully implement pypilot in 2 steps.

First I will add a new tab "compass" for pypilot compass/imu management. I will run boatimu.py and I will connect to signalk python server to get values to the main signalk node server. Could you point me to the best way to get data from signalk python server?

You can look at the source code to any script that uses the SignalkClient class...

You can watch certain values. It will then receive updates when they change. Alternately you can poll the values if you don't need as fast a rate, it can save some bandwidth. The autopilot runs at 10hz by default, but could run faster.




Quote:Seconf I will add a tool "Autopilot" for the rest of scripts. I will do this when I get the hardware.

e-sailing has developed a way to create the deviation table for your boat and add values to data coming from the IMU. Do you have plans to implement deviations on pypilot or can I apply e-sailing method?

What deviations? You can certainly reajust the autopilot gains from a client. This is what the autogain client does. Eventually I might implement all kinds of autofiltering etc, but for now, manually tuning the P and D gains isn't that hard and gives good results.
Reply


Messages In This Thread
Pypilot - by Sailoog - 2017-07-02, 01:14 PM
RE: Pypilot - by Sailoog - 2017-07-02, 01:22 PM
RE: Pypilot - by seandepagnier - 2017-07-02, 03:24 PM
RE: Pypilot - by Sailoog - 2017-07-02, 04:37 PM
RE: Pypilot - by Sailoog - 2017-07-02, 06:39 PM
RE: Pypilot - by seandepagnier - 2017-07-02, 07:09 PM
RE: Pypilot - by Sailoog - 2017-07-02, 07:05 PM
RE: Pypilot - by Sailoog - 2017-07-02, 08:21 PM
RE: Pypilot - by seandepagnier - 2017-07-02, 10:22 PM
RE: Pypilot - by Sailoog - 2017-07-04, 04:35 PM
RE: Pypilot - by seandepagnier - 2017-07-04, 04:58 PM
RE: Pypilot - by Sailoog - 2017-07-04, 05:58 PM
RE: Pypilot - by seandepagnier - 2017-07-04, 06:33 PM
RE: Pypilot - by Sailoog - 2017-07-04, 06:55 PM
RE: Pypilot - by Sailoog - 2017-07-05, 06:55 PM
RE: Pypilot - by seandepagnier - 2017-07-07, 03:57 PM
RE: Pypilot - by Sailoog - 2017-07-07, 07:02 PM
RE: Pypilot - by Sailoog - 2017-07-07, 07:08 PM
RE: Pypilot - by seandepagnier - 2017-07-08, 02:29 AM
RE: Pypilot - by Sailoog - 2017-07-10, 06:23 PM
RE: Pypilot - by seandepagnier - 2017-07-11, 01:44 AM
RE: Pypilot - by Sailoog - 2017-08-06, 08:41 PM
RE: Pypilot - by gaspbut - 2017-09-10, 08:50 AM
RE: Pypilot - by Sailoog - 2017-08-06, 09:31 PM
RE: Pypilot - by Sailoog - 2017-08-08, 07:04 PM
RE: Pypilot - by seandepagnier - 2017-08-10, 08:38 PM
RE: Pypilot - by Sailoog - 2017-08-11, 05:08 PM
RE: Pypilot - by lordzahl - 2017-08-12, 06:29 AM
RE: Pypilot - by waterman480 - 2017-08-11, 11:27 PM
RE: Pypilot - by waterman480 - 2017-08-12, 03:54 PM
RE: Pypilot - by seandepagnier - 2017-08-14, 07:14 PM
RE: Pypilot - by Sailoog - 2017-08-21, 11:05 AM
RE: Pypilot - by seandepagnier - 2017-08-23, 07:26 PM
RE: Pypilot - by jim321 - 2017-09-10, 09:13 AM
RE: Pypilot - by Sailoog - 2017-10-08, 01:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)