ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

roslaunch rplidar Error, operation time out. RESULT_OPERATION_TIMEOUT!

asked 2019-05-24 11:11:36 -0500

jamesislost gravatar image

updated 2021-12-03 09:50:48 -0500

Evgeny gravatar image

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


crw-rw-rw- 1 root root 189, 4 May 23 14:01 005


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.

edit retag flag offensive close merge delete


How did you solve this?

femitof gravatar image femitof  ( 2020-06-12 12:30:04 -0500 )edit

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

cjoshi17 gravatar image cjoshi17  ( 2021-08-31 08:04:09 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2022-10-14 22:44:23 -0500

ronald.luc gravatar image

For me, the problem once were damaged USB ports RaspPi 4B (short-circuit?), another time it was a damaged cable to the Lidar.

Our debugging pipeline: - connect to a different machine (in our case new RaspPi) - change the cable - change the Lidar

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2019-05-24 11:11:36 -0500

Seen: 3,380 times

Last updated: Oct 14 '22