ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Using the Hokuyo UST-05LN laser rangefinder with urg_node

asked 2017-11-03 13:28:10 -0500

ChrisU gravatar image

updated 2017-11-06 04:26:22 -0500

I'm trying to get the Hokuyo UST-05LN laser rangefinder working with ROS Indigo.

I have successfully connected a UST-05LA model (which I believe is nearly identical to the LN) to the urg_node and taken laser scans with data coming from the USB. However when I connect the LN the device is recognised as a USB device in linux but the node cannot connect to it. The error message in the master log is:

ERROR [/tmp/binarydeb/ros-indigo-urg-node-0.1.10/src/urg_node.cpp:245(main) [to pics:/rosout] Error connecting to Hokuyo: Could not initialize Hokuyo:

Any suggestions?

edit retag flag offensive close merge delete


It could just be that urg_node is incompatible with the specific device you are trying to use it with. You could try to see whether you can find anyone who has already done what you're trying to do. Otherwise you'll probably have to figure out what is not working ("cannot connect to it" is vague).

gvdhoorn gravatar image gvdhoorn  ( 2017-11-04 05:57:43 -0500 )edit

Sorry I didn't have the exact error message to hand at the time. I have updated my question with the message from the log file.

ChrisU gravatar image ChrisU  ( 2017-11-06 04:28:14 -0500 )edit

Hi ChrisU, already found a solution yet?

mrlebowski gravatar image mrlebowski  ( 2018-03-07 07:59:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-18 18:47:15 -0500

Fabien-B gravatar image

Hi, I also tried to use the hokuyo node without success. I asked Hokuyo the usb specifications of the UST-05LN and that is what they answer me :

UST-05LN is not designed to support distance data output. Therefore, we have no communication protocol specification for this model. If you need distance data, please consider of using UST-10/20LX or UST-05LA. I am sorry for the inconvenience.

However, we can visualize data from the AreaDesigner. So I sniffed a bit the data exchanged over USB when using this software, and I write this piece of code :

I just started to do this few hours ago, so there is a lot more work to do to have a full support of the sensor functionalities, however it should be sufficient to retrieve the measurement data.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-11-03 13:28:10 -0500

Seen: 793 times

Last updated: Nov 06 '17