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.
#13
Hello,

I'm a newcomer in the openplotter world, trying to set it up on my raspberry. I think I am facing the same kind of problem here when I try to calibrate my IMU. (pypilot running in "Enable IMU Only mode", I only connected the IMU to the raspberry)

Observations in the calibration "accel" tab:
- red points eventually turn green, but never yellow
- no debug messages in the bottom left window
- calibration age never resets (always correspond to the pypilot service boot time), gains remain to [[0.0, 0.0, 0.0, 1.0], 1.0]

I made sure calibration lock checkbox is unchecked. This is confirmed in the pypilot client app (imu.accel.calibration.lock is False. Also, imu.accel.calibration.log is empty, I don't know if it is a relevant information)

I did not test compass calibration yet (just noticed that I see a red disc and not a red cone). I also noted that no plot shows up in the pypilot "scope" app regardless of the checkbox I click in the left panel. Maybe this is expected?

My configuration: fresh install of openplotter v3 Starting 64 bits on a Raspberry 4 B (4 Gb RAM). Pypilot version is 3.2.13-stable, all other apps are up to date. I am using a ICM 20948 I just bought.

Apart from that, the IMU seems to react properly. No warning occurs when I run a system check.

This is what I see when I run a journalctl -u pypilot_boatimu:

juil. 17 19:09:34 openplotter systemd[1]: Started pypilot boatimu.
juil. 17 19:09:35 openplotter sudo[2737]: pi : PWD=/home/pi/.pypilot ; USER=root ; COMMAND=/usr/bin/chrt -po 0 2734
juil. 17 19:09:35 openplotter sudo[2740]: pi : PWD=/home/pi/.pypilot ; USER=root ; COMMAND=/usr/bin/chrt -pf 2 2736
juil. 17 19:09:35 openplotter sudo[2740]: pam_unix(sudoConfusedession): session opened for user root(uid=0) by (uid=1000)
juil. 17 19:09:35 openplotter sudo[2737]: pam_unix(sudoConfusedession): session opened for user root(uid=0) by (uid=1000)
juil. 17 19:09:35 openplotter sudo[2740]: pam_unix(sudoConfusedession): session closed for user root
juil. 17 19:09:35 openplotter pypilot_boatimu[2736]: Settings file RTIMULib.ini loaded
juil. 17 19:09:35 openplotter pypilot_boatimu[2736]: Detected ICM20948 at option address
juil. 17 19:09:35 openplotter pypilot_boatimu[2736]: Using fusion algorithm Kalman STATE4
juil. 17 19:09:35 openplotter pypilot_boatimu[2736]: min/max compass calibration not in use
juil. 17 19:09:35 openplotter pypilot_boatimu[2736]: Using ellipsoid compass calibration
juil. 17 19:09:35 openplotter pypilot_boatimu[2736]: Using accel calibration
juil. 17 19:09:35 openplotter sudo[2737]: pam_unix(sudoConfusedession): session closed for user root
juil. 17 19:09:35 openplotter sudo[2745]: pi : PWD=/home/pi/.pypilot ; USER=root ; COMMAND=/usr/bin/chrt -pi 0 2734
juil. 17 19:09:35 openplotter sudo[2745]: pam_unix(sudoConfusedession): session opened for user root(uid=0) by (uid=1000)
juil. 17 19:09:35 openplotter sudo[2745]: pam_unix(sudoConfusedession): session closed for user root
juil. 17 19:09:35 openplotter pypilot_boatimu[2736]: ICM-20948 init complete
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)