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,

Thanks, I got ID address of LMS111 from SOPAS software is 169.254.193.164.
But I can't ping it after connect it to my PC
tienthanh@tienthanh-pc:~$ ping 169.254.193.164
PING 169.254.193.164 (169.254.193.164) 56(84) bytes of data.
^C
--- 169.254.193.164 ping statistics ---
57 packets transmitted, 0 received, 100% packet loss, time 56079ms

Of course, it can not connect to ROS
tienthanh@tienthanh-pc:~$ rosrun LMS1xx LMS100
[ INFO] [1298902851.829334744]: connecting to laser at : 169.254.193.164
[ERROR] [1298902872.821389656]: Connection to device failed

I don't think there is any problem with a laser scanner (it works with
Labview in Window). And I have no idea why it not works in ROS

Cheers,



On Mon, Feb 28, 2011 at 11:59 AM, Jochen Sprickerhof <
> wrote:

> * Tien Thanh <> [2011-02-28 11:44]:
> > Hi,
>
> 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
>
> you have to use the IP of the LMS100, not the one of your host ;)
>
> Cheers,
>
> Jochen
>




--
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