We are working hard on OpenPlotter v3 but it will take some time because this time we have 32bit and 64bit and this time we are writing docs at the same time (no docs, no apps).
There were also some important improvements waiting for a major revision like this one and we can say that OP v3 will be the most robust and stable of all of them. There is a lot of work but we are progressing well, a new app is published every week:
https://forum.openmarine.net/showthread.php?tid=3878
pypilot and IMU management are obviously in the list but you can already play with OP v3 betas and installing pypilot manually.
Hi,
Digging up this thread a bit. I'm having similar issue to many users in this thread which is strange.
My configuration is the following :
Raspberry Pi 3 with the following image :
https://pypilot.org/download.php?Down=im..._16.img.xz
When I run
pypilot_boatimu I have the following output :
Code:
imu process 4290
pypilotServer process 4292
failed to load pypilot.conf not enough values to unpack (expected 2, got 1)
server setup has 3 pipes
made imu process realtime
Using settings file RTIMULib.ini
Settings file not found. Using defaults and creating settings file
Failed to open SPI bus 0, select 0
Using fusion algorithm Kalman STATE4
ERROR: No IMU Detected 228.716127516
warning, failed to make calibration process idle, trying renice
imu rate set to rate 20
setting initial gyro bias [-1.566, -0.837, 0.119]
server add socket ('127.0.0.1', 40534)
server add socket ('127.0.0.1', 40536)
calibration loaded, starting 4289
server, remove socket ('127.0.0.1', 40536)
server add socket ('127.0.0.1', 40538)
server, remove socket ('127.0.0.1', 40534)
server, remove socket ('127.0.0.1', 40538)
server add socket ('127.0.0.1', 40540)
server, remove socket ('127.0.0.1', 40540)
I know connection is well made because I find the MPU on the i2c bus with :
Code:
tc@pypilot:~/i2c-tools$ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- 69 -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
And I also tried with the address 0x68.
This is really strange that we are many with the same problem. Do you guys have any news on this ?
Thanks
pypilot current requires compass sensors even in wind and gps mode because without it, the calculaton would be very noisy.
There is some work for pilots that do not use compass sensors, but not really proven/implemented.
you may simply have faulty sensors
Does it say magnetometer not found? What does it show running pypilot directly from console (service disabled)
always the same: i2cdetect founds 0x68 device (magnetometr not found) and under pypilot "auto discover" and IMU not found (console).
you are right it seems to be faulty sensor or maybe something in my raspberry config is not ok?
as MPU9250 is end of life just wondering if all those chinese units are in general faulty and I should look for something newer?
L3GD20 LSM303D / L3G4200D / ICM 20948
at least 50% of them are faulty in one way or another.
Look for icm20948 pimoroni is a reputable source, and I can supply them on my own site too:
https://pypilot.org/opencart
today I have connected SEN-15335 (ICM-20948) and still the same:
pi@PI4:~/work $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- 69 -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
PyPilot - Detected IMU - Auto Discover
one option I can see is to change address to 0x68 according to
https://learn.sparkfun.com/tutorials/spa...-guide/all (jumper ADR needs to be soldered)
not helped but after installation of
https://gitlab.com/pimoroni/icm20948-python I see data from the board:
pi@PI4:~/work/icm20948-python/examples $ python read-all.py
read-all.py
Reads all ranges of movement: accelerometer, gyroscope and
compass heading.
Press Ctrl+C to exit!
Accel: 01.00 -0.01 -0.06
Gyro: -1.00 00.00 00.00
Mag: -36.30 19.05 56.40
Accel: 01.00 -0.01 -0.05
Gyro: -1.00 00.00 -1.00
Mag: -37.95 17.70 56.25
Accel: 01.00 -0.01 -0.05
Gyro: -1.00 00.00 00.00
Mag: -34.95 17.70 57.00
Accel: 01.00 -0.01 -0.05
Gyro: -1.00 00.00 00.00
Mag: -36.45 16.95 57.30
Accel: 01.00 -0.01 -0.05
Gyro: -1.00 00.00 00.00
Mag: -36.60 18.30 57.15
Accel: 00.92 00.09 00.45
Gyro: -21.00 237.00 12.00
Mag: -37.50 17.70 75.60
Accel: 00.05 -0.25 00.79
Gyro: -140.00 00.00 -33.00
Mag: -30.45 03.00 102.60
Accel: 00.85 -0.98 00.25
Gyro: -20.00 -101.00 -19.00
Mag: -44.40 -9.00 80.25
Accel: 01.09 -0.26 00.31
Gyro: 146.00 -30.00 -100.00
Mag: -44.10 11.40 63.75
Accel: 00.29 00.20 00.60
Gyro: -146.00 61.00 22.00
Mag: -44.40 07.80 82.05
Accel: 00.70 -0.16 00.48
Gyro: 250.00 250.00 -101.00
Mag: -42.15 05.55 80.55
Accel: 00.54 00.04 00.70
Gyro: -66.00 -104.00 45.00
Mag: -37.95 15.00 86.25
Accel: 00.68 -0.18 00.78
Gyro: -3.00 32.00 -19.00
Mag: -39.30 10.50 84.60
Issue with the library under pypilot?