Re: [ros-users] Ros Node for Sick LMS 100

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] Ros Node for Sick LMS 100
Hi,

After connect laser scanner, I can ping it, and this is my ifconfig
tienthanh@tienthanh-pc:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr e0:cb:4e:da:d2:71
          inet addr:10.33.107.93  Bcast:10.33.107.255  Mask:255.255.252.0
          inet6 addr: fe80::e2cb:4eff:feda:d271/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:235218 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28801 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:91400508 (91.4 MB)  TX bytes:3659091 (3.6 MB)
          Interrupt:28 Base address:0x6000


I set the IP: rosparam set /LMS1xx/host 10.33.107.93

But I have this error when run* rosrun LMS1xx LMS100 *
*
*
**
tienthanh@tienthanh-pc:~/vslam_tut/vslam/vslam_system$ rosrun LMS1xx LMS100
[ INFO] [1298889451.850091778]: connecting to laser at : 10.33.107.93
[ERROR] [1298889451.850367001]: Connection to device failed


On Fri, Feb 25, 2011 at 12:21 PM, Jochen Sprickerhof <
> wrote:

> * Tien Thanh <> [2011-02-25 11:30]:
> > Thanks,
> >
> > Actually, I'm looking for a documentation which shows how to connect
> LMS111
> > to ROS using LMS1x and libLMS1xx packs.
>
> - is the laser connected through Ethernet?
> - can you ping it?
> - start a roscore
> - set the IP: rosparam set /lms1xx/host IP
> - rosrun LMS1xx LMS100
> - rosrun rviz rviz and connect it to the laser topic
>
>



--
Tien Thanh Nguyen
Erasmus Mundus Master Program
EU4M - European Union Master in Mechatronics and Micro-mechatronics systems
Hochschule Karlsruhe Technik und Wirtschaft - Germany
Ecole Nationale Superieure de Mecanique et de Microtechniques de Besancon -
France
Phone-mobile : +32.(0)499239087
http://www.eu4m.eu