Open saqihussainkalan opened 9 months ago
Hi, trying a mpu9250 on a RasP4 as the sahilsaqi above, with the same result, starting up calibrating, then crashing
ubuntu@rp4-ub22h-mt:~/mpu9250_ws$ 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: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
ubuntu@rp4-ub22h-mt:~/mpu9250_ws$ ros2 pkg executables mpu9250driver
mpu9250driver mpu9250driver
ubuntu@rp4-ub22h-mt:~/mpu9250_ws$
ubuntu@rp4-ub22h-mt:~/mpu9250_ws$ ros2 launch mpu9250driver mpu9250driver_launch.py
[INFO] [launch]: All log files can be found below /home/ubuntu/.ros/log/2024-04-10-16-43-51-200255-rp4-ub22h-mt-4808
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [mpu9250driver-1]: process started with pid [4809]
[mpu9250driver-1] /dev/i2c-1
[mpu9250driver-1] Error! Errno: Remote I/O error
[mpu9250driver-1] Error powering down magnometer
[mpu9250driver-1] Error! Errno: Remote I/O error
[mpu9250driver-1] Error reactivating magnometer
[mpu9250driver-1] Accelerometer Range: +-2g [mpu9250driver-1] Gyroscope Range: +-250 degree per sec [mpu9250driver-1] DLPF Range: 94 Hz [mpu9250driver-1] Accelerometer Offsets: x: -8.64556, y: 4.31998, z: -9.28485 [mpu9250driver-1] Gyroscope Offsets: x: 1.19108, y: 4.92614, z: -0.13271
I am experiencing the same error on humble.
I am experiencing the same error on humble.
you need to make _mag:=false
, then it will work or I will suggest changing the ros2
, to ros1 noetic
,
one another solution is to find the right package of mpu9250
, for ros2
,
I change the MPU9250
, to MPU6050
,
after i successfully installed all dependencies and launched this it gave me an error like this: Note: I am using MPU 9250 and ROS2 (humble) + raspi-4
aiot@ubuntu:~$ ros2 launch mpu9250driver mpu9250driver_launch.py [INFO] [launch]: All log files can be found below /home/aiot/.ros/log/2024-01-30-16-55-53-821800-ubuntu-10632 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [mpu9250driver-1]: process started with pid [10633] [mpu9250driver-1] /dev/i2c-1
[mpu9250driver-1] Accelerometer Range: +-2g [mpu9250driver-1] Gyroscope Range: +-250 degree per sec [mpu9250driver-1] DLPF Range: 94 Hz [mpu9250driver-1] Accelerometer Offsets: x: 1.29235, y: -4.95298, z: -0.483442 [mpu9250driver-1] Gyroscope Offsets: x: 1.82969, y: -0.970473, z: 0.274786 [mpu9250driver-1] Error! Errno: Remote I/O error [mpu9250driver-1] Error! Errno: Remote I/O error [mpu9250driver-1] Error! Errno: Remote I/O error [mpu9250driver-1] Error! Errno: Remote I/O error [mpu9250driver-1] Error! Errno: Remote I/O error [mpu9250driver-1] Error! Errno: Remote I/O error [mpu9250driver-1] Error! Errno: Remote I/O error