Robotics StackExchange | Archived questions

Use LMS511 on ROS!!

I'm trying to use LMS511 with these drivers https://github.com/clearpathrobotics/laser_drivers/tree/hydro-devel but when a launch the lms5xx.launch file using roslaunch I get this error

ERROR: I/O exception - SickLMS5xx::_setupConnection: socket error on connect()!

I'm connected via Ethernet.

PLease help!

Asked by Aakash on 2016-12-07 22:55:17 UTC

Comments

That launch file has a parameter for the IP that your sensor is using:

<param name="ip_add" value="192.168.1.14" />

Have you set that to the correct value?

Asked by gvdhoorn on 2016-12-08 02:27:27 UTC

How to get the right value? @gvdhoom!

Asked by Aakash on 2016-12-08 06:50:09 UTC

How have you configured the sensor? You should be able to figure out the IP of the sensor that way.

Asked by gvdhoorn on 2016-12-08 07:12:16 UTC

I'm using the factory settings. I did not configured it so the IP I used till now was as mentioned in the manual i.e 192.168.0.1 I configured my pc's ip to 192.168.0.10 . Is that alright @gvdhoom...

Asked by Aakash on 2016-12-08 07:43:55 UTC

So, have you updated the value of ip_add in the launchfile to 192.168.0.1?

Asked by gvdhoorn on 2016-12-08 10:07:47 UTC

Yes! @gvdhoom I can even see my laptop being connected to it via that lan connection double arrow symbol!

Asked by Aakash on 2016-12-08 12:18:23 UTC

Answers