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:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IMU Not behaving correctly.
#5
Right, I have bought another IMU, tested it on an Arduino and it works fine with some basic quaternion software ... it is an 9255 IMU, I installed it on my boat and the result is the same, this is now 3 IMU that display the same issue so I don't believe the "it is a faulty sensor" reason.

Again, I fitted the new sensor, selected calibration, cleared the Accel calibration, put the sensor on 6 sides each for a few seconds ... waited a few minutes then locked the calibration.

Next I pressed "BOAT IS LEVEL" and the boat image became level.

Finally I switched to compass, motored slowly in 2 circles ... I saw a green circle of dots (but on the y-z plane) I saw no "calibration points" in light blue, I saw no "sigma points" in yellow.

Pypilot is writing to the config file, I can see the date changing, but the config data that is written for the compass is [[0.0,0.0,0.0,80.0,0.0],[1.0,1.0],0.0] which is the default data, I have never seen anything else written. I have never seen anything in the text box at the bottom left.

I don't think this is a sensor problem (3 sensors now, Moitessier hat and 2 i2c sensors), I don't think this is a file permissions problem.

This is a Pi4, latest OpenPlotter, MacArthur HAT ... I am on the boat tonight and tomorrow, then gone for 2 weeks (sailing another boat) ... I would really like to have this working for my trip to Scotland.

If I run ps -ef | grep imu I can see 4 instances of /usr/local/bin/pypilot_boatimu -q running ... as well as the openplotter pypilot stuff, calibration etc, is that correct?

I can also see that /usr/local/bin/pypilot_boatimu -q is running, is that correct?
Reply


Messages In This Thread
IMU Not behaving correctly. - by rszemeti - 2023-06-10, 07:42 PM
RE: IMU Not behaving correctly. - by mgrouch - 2023-06-12, 07:43 AM
RE: IMU Not behaving correctly. - by rszemeti - 2023-06-12, 09:37 AM
RE: IMU Not behaving correctly. - by rszemeti - 2023-06-22, 06:52 PM
RE: IMU Not behaving correctly. - by rszemeti - 2023-06-23, 12:20 AM
RE: IMU Not behaving correctly. - by rszemeti - 2023-06-23, 12:55 PM
RE: IMU Not behaving correctly. - by rszemeti - 2023-06-23, 01:56 PM
RE: IMU Not behaving correctly. - by rszemeti - 2023-08-16, 11:00 AM
RE: IMU Not behaving correctly. - by rszemeti - 2023-07-10, 04:01 PM
RE: IMU Not behaving correctly. - by winkaj - 2023-07-11, 10:11 PM
RE: IMU Not behaving correctly. - by yoenn - 2023-07-17, 06:19 PM
RE: IMU Not behaving correctly. - by yoenn - 2023-08-24, 10:54 AM
RE: IMU Not behaving correctly. - by winkaj - 2023-08-24, 07:17 PM
RE: IMU Not behaving correctly. - by Paskee - 2023-08-25, 01:13 PM
RE: IMU Not behaving correctly. - by rszemeti - 2023-08-25, 03:36 PM
RE: IMU Not behaving correctly. - by rszemeti - 2023-08-24, 07:25 PM
RE: IMU Not behaving correctly. - by winkaj - 2023-08-26, 03:53 AM
RE: IMU Not behaving correctly. - by Paskee - 2023-08-29, 07:49 PM
RE: IMU Not behaving correctly. - by rszemeti - 2023-09-02, 10:18 AM
RE: IMU Not behaving correctly. - by rszemeti - 2023-09-06, 09:55 AM
RE: IMU Not behaving correctly. - by rszemeti - 2023-11-15, 06:38 AM
RE: IMU Not behaving correctly. - by rszemeti - 2023-11-23, 04:38 PM
RE: IMU Not behaving correctly. - by rszemeti - 2023-11-25, 12:59 PM
RE: IMU Not behaving correctly. - by rszemeti - 2023-12-19, 07:32 PM
RE: IMU Not behaving correctly. - by ironman - 2023-12-19, 08:27 PM
RE: IMU Not behaving correctly. - by rszemeti - 2023-12-19, 11:24 PM
RE: IMU Not behaving correctly. - by ironman - 2023-12-20, 10:21 AM
RE: IMU Not behaving correctly. - by rszemeti - 2023-12-20, 09:57 PM
RE: IMU Not behaving correctly. - by ironman - 2023-12-20, 10:26 PM
RE: IMU Not behaving correctly. - by rszemeti - 2023-12-21, 01:09 AM
RE: IMU Not behaving correctly. - by rszemeti - 2023-12-21, 10:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)