Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Connecting a Sick laserscanner via ethernet

Hi,

We're working on our robot running Ubuntu 14.04 and ROS indigo. Right now we are trying to connect a Sick LMS 111 laserscanner via ethernet. We installed the drivers http://wiki.ros.org/LMS1xx and can start the node to do this. Afterwards we tried to connect to the laserscanner using many ip's (found by ifconfig for example) but any of them gave back this error:

[ INFO] [1429170035.841400945]: Connecting to laser at : 192.168.0.1:2111
[ERROR] [1429170163.097305396]: Connection to LMS1xx device failed, retrying in 1 second.

To find the port we downloaded the Sopas Engineering Toolbox from Sick. This gave us ip 192.168.0.1 and tcp 2111. To set the port we adjusted the launch file:

<launch>
  <arg name="host" default="192.168.0.1:2112" />
  <node pkg="lms1xx" name="lms1xx" type="LMS1xx_node" output="screen">
    <param name="host" value="$(arg host)" />
  </node>
</launch>

Does anyone have an idea on how to get data from the laserscanner?