roslaunch rplidar Error, operation time out. RESULT_OPERATION_TIMEOUT!
Hi there, I'm having a problem running an rplidar through a usb hub on intel aero.
When running launch:
roslaunch rplidar.launch
Error message:
[ERROR] [1558615600.086287674]: Error, cannot bind to the specified serial port /dev/bus/usb/001/005.
[rplidarNode-2] process has died [pid 3325, exit code 255, cmd /home/aero/rplidar/devel/lib/rplidar_ros/rplidarNode __name:=rplidarNode __log:=/home/aero/.ros/log/cd3b83b2-7d58-11e9-a033-ae53970a7cc1/rplidarNode-2.log].
log file: /home/aero/.ros/log/cd3b83b2-7d58-11e9-a033-ae53970a7cc1/rplidarNode-2*.log
As i interpret it I need to remap the USB serial connection, but the lidar is connected by usb hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
The port within this the lidar is connected to is number 005
ls /dev/bus/usb/001
001 002 003 004 005
Within the rplidar.launch file I have changed to this
param name="serial_port" type="string" value="/dev/bus/usb/001/005"/
and in the rplidar.rules file changed to this:
KERNEL=="/dev/bus/usb/001/005", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", MODE:="0666", SYMLINK+="rplidar"
I also run, from the rplidar wiki:
ls -l /dev/bus/usb/001 |grep` 005
output
crw-rw-rw- 1 root root 189, 4 May 23 14:01 005
Then:
sudo chmod 666 /dev/bus/usb/001/005
with no response message
Then, when running the rplidar.launch code again I now get the error message:
Error, operation time out. RESULT_OPERATION_TIMEOUT!
Im not sure what else to try so if anyone has any suggestions that is much appreciated. The environment is definitely sourced and I think this is sufficiently different from the other similar question on here, thanks.
How did you solve this?
I am also trying to run it using a USB hub. I had got it working on a jetson nano but for some reason it isn't working now