Mistake in raspbian for robot software

Hello. I think I have maybe find a mistake in the easygopigo3.py file. On line 19, we try to import the inertial_measurement_unit.py file, but on line 1207 we instead try to access to the easy_inertial_measurement_unit, which always resulting in an error.

I use rasbpian for robot v10, which is I believe the last version.

Is this normal or is this a mistake or maybe it’s just my version which is broken?

PS: sorry for the bad English because I’m French.

3 Likes

IMU user here, not ModRobotics.

You are correct. As a work around see:

or to use the EasyIMUSensor class:

from di_sensors import easy_inertial_measurement_unit as eIMU

imu = eIMU.EasyIMUSensor(use_mutex=True) # put IMU in port AD1

3 Likes

Thanks for you examples. Really hepful.

4 Likes

It’s also been fixed in the code, so if you want, you could simply update your library. Thank you for bringing this to our attention.

4 Likes