Ask Your Question
0

Need help with lms511 drivers on ROS!

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

Aakash gravatar image

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

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 image2ROS0 ( 2017-01-03 19:40:57 -0600 )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 image2ROS0 ( 2017-01-03 19:46:41 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

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

2ROS0 gravatar image

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

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 imageAakash ( 2016-12-07 06:42:20 -0600 )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 image2ROS0 ( 2016-12-08 09:44:11 -0600 )edit

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

Aakash gravatar imageAakash ( 2016-12-08 11:21:23 -0600 )edit

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

2ROS0 gravatar image2ROS0 ( 2016-12-08 13:30:42 -0600 )edit
0

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

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 imagejeff-o ( 2017-09-26 15:48:48 -0600 )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 imagevik748 ( 2017-09-26 15:55:21 -0600 )edit

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

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

Seen: 201 times

Last updated: Dec 08 '16