python-openimu icon indicating copy to clipboard operation
python-openimu copied to clipboard

Python-openimu Ubuntu driver

Open FarhadMir opened this issue 7 years ago • 7 comments

Neither cloning the python driver from github nor installing through pip works for Ubuntu 16.04; it can search the ports but not connect to any. Screenshot from 2019-07-24 17-56-54

FarhadMir avatar Jul 24 '19 21:07 FarhadMir

Hi FarhadMir,what is the python version and pip version you are using? Is the USB interface from IMU mount on the ubuntu system successfully? what is the ‘lsusb’ command feedback?

yifanff avatar Jul 25 '19 10:07 yifanff

Hey, Yifan; python 2.7, pip 19.2.1 (but I tried previous versions too); and yes it is successfully mounted look at the screen below: Screenshot from 2019-07-25 12-41-09

FarhadMir avatar Jul 25 '19 16:07 FarhadMir

Hi FarhadMir, thanks for your feedback! please git pull the code and make sure the IMU serial port have full access right, in my side: sudo chmod -R 777 /dev/ttyUSB0 , then it work normally.

yifanff avatar Jul 28 '19 10:07 yifanff

Thanks, solved.

FarhadMir avatar Jul 30 '19 00:07 FarhadMir

@FarhadMir at last what is the root cause in your side? based on your situation, cable, system not found divice firstly, account access right.......

erkuo521 avatar Aug 01 '19 05:08 erkuo521

account access right

FarhadMir avatar Aug 06 '19 22:08 FarhadMir

so, use command: "sudo usermod -a -G yourusergroup youraccountname" improve the account right will figure out the serial port cannot open problem

erkuo521 avatar Aug 07 '19 01:08 erkuo521