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

Need help with lms511 drivers on ROS!

asked 2016-12-06 14:39:48 -0500

Aakash gravatar image

updated 2016-12-08 16:02:24 -0500

I cloned these drivers for use https://github.com/clearpathrobotics/laser_drivers/tree/hydro-devel for use. But when I do roslaunch lms5xx.launch i get this error

A Timeout Occurred - SickLMS5xx::_setupConnection: select() timeout!

[lidar/lms5xx-2] process has died [pid 5099, exit code 2, cmd /home/axe/catkin_ws/devel/lib Please help!!

edit retag flag offensive close merge delete

Comments

You should have updated the question by adding the new errors you are experiencing and not deleting what was there earlier.

2ROS0 gravatar image 2ROS0  ( 2017-01-03 19:40:57 -0500 )edit

Anyway, the error means that the file descriptor is not ready. Check to see if the device is connected to the right socket and you have the right permissions.

2ROS0 gravatar image 2ROS0  ( 2017-01-03 19:46:41 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2016-12-06 15:42:57 -0500

2ROS0 gravatar image

updated 2016-12-06 16:36:21 -0500

This is a fairly common error. You have likely not sourced the setup.bash from your workspace. This will add the path of your newly cloned package to the ROS path. In general, it does what in catkin terms is called 'overlaying your workspace' to your environment variables.

Go to your workspace directory and run the following command source devel/setup.bash (assuming you are using a catkin workspace).

edit flag offensive delete link more

Comments

It worked thanks. But I again ran into an error by running the same command the error is A Timeout Occurred - SickLMS5xx::_setupConnection: select() timeout! [lidar/lms5xx-2] process has died [pid 5099, exit code 2, cmd /home/axe/catkin_ws/devel/lib

Aakash gravatar image Aakash  ( 2016-12-07 06:42:20 -0500 )edit

This is a different problem. The select() call is used for a file descriptor, for an input operation. Do you have the SICK laser connected properly? Maybe the package has a script for testing connection?

2ROS0 gravatar image 2ROS0  ( 2016-12-08 09:44:11 -0500 )edit

@2ROS0 the only two connection I made to the LIDAR are power and lan! I guess that's right...

Aakash gravatar image Aakash  ( 2016-12-08 11:21:23 -0500 )edit

Hmm, I would suggest you update the original question and see if someone else has any ideas.

2ROS0 gravatar image 2ROS0  ( 2016-12-08 13:30:42 -0500 )edit
0

answered 2017-04-04 09:12:38 -0500

vik748 gravatar image

After trying a number of driver and packages for our SICK LMS511 the best one I found to work with my ROS Indigo was from https://github.com/pangfumin/lms511_l...

All I had to do was initialize a workspace, copy the folder laser_node into the src folder and then catkin_make. Hope this helps someone else.

Cheers, Vik

edit flag offensive delete link more

Comments

Hi Vik, I used the same driver and got an error as someone else described here: https://github.com/pangfumin/lms511_l...

What other setup is needed?

jeff-o gravatar image jeff-o  ( 2017-09-26 15:48:48 -0500 )edit

Jeff, I think your issue has to do with networking. Sounds like your computer is not able to talk to the Lidar via Ethernet. I believe when your network configuration is correct, you should be able to ping the lidar at its ip address. Make sure the driver matches that.

vik748 gravatar image vik748  ( 2017-09-26 15:55:21 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2016-12-06 14:39:48 -0500

Seen: 346 times

Last updated: Dec 08 '16