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
Failure calibration ICM-20948
#1
Hi!
I'm trying to setup a pypilot system, but i cant get working the imu.
I bought this hat, including a icm-20948: https://www.amazon.es/dp/B08H5JH51Y?psc=...ct_details

The problem is, that pypilot detects it, and on the i2c addresses is shown in 68

When i execute pypilot_boatimu, this is the output:

Quote:pi@openplotter:~ $ pypilot_boatimu
imu process 2377
pypilotServer process 2379
pypilot_server: bind failed; already running a server?
made imu process realtime
Using settings file RTIMULib.ini
Settings file RTIMULib.ini loaded
Detected ICM20948 at standard address
Using fusion algorithm Kalman STATE4
IMU Name: ICM-20948
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
ICM-20948 init complete
ICM20948 compass out of range -1260.504761 0 11 11
failed to read IMU! 149.187770566
Detected ICM20948 at standard address
IMU Name: ICM-20948
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
ICM-20948 init complete
imu process failed to keep time 0.29602886600000033 149.988093918 150.284055915 150.284088359 150.284122488
ICM20948 compass out of range -1260.886475 0 11 11
failed to read IMU! 150.284210116
Detected ICM20948 at standard address
IMU Name: ICM-20948
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
ICM-20948 init complete
imu process failed to keep time 0.42765589000001114 151.084460396 151.512041694 151.512080231 151.512115971
ICM20948 compass out of range -1260.436401 0 11 11
failed to read IMU! 151.512205711
pypilot_server: bind failed; already running a server?
Detected ICM20948 at standard address
IMU Name: ICM-20948
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
ICM-20948 init complete
imu process failed to keep time 0.315893243000005 152.112507086 152.428284089 152.42834207 152.428399514
ICM20948 compass out of range -1260.872803 0 11 11
failed to read IMU! 152.428545271
Detected ICM20948 at standard address
IMU Name: ICM-20948
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
calibration loaded, starting 2375
ICM-20948 init complete
imu process failed to keep time 0.4609628669999779 153.129021356 153.589916058 153.58994902 153.589983872
ICM20948 bad data 8 10
failed to read IMU! 153.590076593
Detected ICM20948 at standard address
IMU Name: ICM-20948
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
ICM-20948 init complete
imu process failed to keep time 0.29593896000000086 154.190243173 154.486105763 154.486145596 154.486181799
ICM20948 compass out of range -1260.640869 0 11 11
failed to read IMU! 154.486269298
pypilot_server: bind failed; already running a server?
Detected ICM20948 at standard address
IMU Name: ICM-20948
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
ICM-20948 init complete
imu process failed to keep time 0.29590888600000653 155.28652567 155.582358242 155.582397779 155.582434149
ICM20948 compass out of range -1260.231812 0 11 11
failed to read IMU! 155.582522629
Detected ICM20948 at standard address
IMU Name: ICM-20948

The system is a fresh installation of openplotter starter.

Somebody can help me?

I'm in Barcelona Port Olímpic, if someone wants to help setting it up, can contact me  Big Grin
Reply
#2
You have 2 instances of pypilot running and both of them are trying to read the IMU. Do not run anything in the terminal and just follow this manual for openplotter v2, it should also work for openplotter v3: https://openplotter.readthedocs.io/en/2....ation.html
Reply
#3
(2023-06-06, 05:30 PM)Sailoog Wrote: You have 2 instances of pypilot running and both of them are trying to read the IMU. Do not run anything in the terminal and just follow this manual for openplotter v2, it should also work for openplotter v3: https://openplotter.readthedocs.io/en/2....ation.html

I did this several times, but the calibration age doesn't reset, and no yellow points appear.

There is any method to check that the imu is working?
It is detected, but i don't get any feedback from it.

(2023-06-06, 06:09 PM)trashtu Wrote:
(2023-06-06, 05:30 PM)Sailoog Wrote: You have 2 instances of pypilot running and both of them are trying to read the IMU. Do not run anything in the terminal and just follow this manual for openplotter v2, it should also work for openplotter v3: https://openplotter.readthedocs.io/en/2....ation.html

I did this several times, but the calibration age doesn't reset, and no yellow points appear.

There is any method to check that the imu is working?
It is detected, but i don't get any feedback from it.

Ok, it seems that is a malfunction of the raspberry.
With another one, it works well Big Grin
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)