<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>I am using this with static address assigned (192.168.1.2) it's look like you are using it with some kind of "automatic address".<br></blockquote></div></div></blockquote><div> </div><div>I thought so. I took the IP from SOPAS software in windows. I guess that automatic address created by windows. Should I edit IP address for laser scanner manually (to 192.168.1.2?) in SOPAS before connect it to ROS? Otherwise Linux can't find the IP address of laser scanner automatically.</div>

<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div class="im"><div></div></div><div>That "automatic address" looks suspiciously like what you get when a computer is configured to use DHCP but there is no DHCP server available, so it defaults to something like that. Is the laser configured to use DHCP to get it's address but there are no DHCP servers available on the same LAN as it?</div>


<div><br></div><font color="#888888"><div>- Eric</div></font><div><div></div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>Are you using latest version from : <a href="https://github.com/RCPRG-ros-pkg/RCPRG_laser_drivers" target="_blank">https://github.com/RCPRG-ros-pkg/RCPRG_laser_drivers</a>  ?<br>




<br clear="all">Pozdrawiam<br>Konrad Banachowicz<br>
<br><br><div class="gmail_quote">2011/2/28 Tien Thanh <span dir="ltr"><<a href="mailto:nttputus@gmail.com" target="_blank">nttputus@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">


<div><div></div><div>

After modifier network connection, I can ping the address of the laser scanner.<div><div> <br><div>tienthanh@tienthanh-pc:~$ ping 169.254.193.164</div><div>PING 169.254.193.164 (169.254.193.164) 56(84) bytes of data.</div>




</div><div>

64 bytes from <a href="http://169.254.193.164" target="_blank">169.254.193.164</a>: icmp_seq=1 ttl=64 time=0.025 ms</div><div>64 bytes from <a href="http://169.254.193.164" target="_blank">169.254.193.164</a>: icmp_seq=2 ttl=64 time=0.025 ms</div>




<div>
64 bytes from <a href="http://169.254.193.164" target="_blank">169.254.193.164</a>: icmp_seq=3 ttl=64 time=0.027 ms</div>
<div>64 bytes from <a href="http://169.254.193.164" target="_blank">169.254.193.164</a>: icmp_seq=4 ttl=64 time=0.027 ms</div><div>64 bytes from <a href="http://169.254.193.164" target="_blank">169.254.193.164</a>: icmp_seq=5 ttl=64 time=0.027 ms</div>





<div>
64 bytes from <a href="http://169.254.193.164" target="_blank">169.254.193.164</a>: icmp_seq=6 ttl=64 time=0.028 ms</div><div>64 bytes from <a href="http://169.254.193.164" target="_blank">169.254.193.164</a>: icmp_seq=7 ttl=64 time=0.027 ms</div>




<div>
64 bytes from <a href="http://169.254.193.164" target="_blank">169.254.193.164</a>: icmp_seq=8 ttl=64 time=0.028 ms</div>
<div>64 bytes from <a href="http://169.254.193.164" target="_blank">169.254.193.164</a>: icmp_seq=9 ttl=64 time=0.027 ms</div><div>64 bytes from <a href="http://169.254.193.164" target="_blank">169.254.193.164</a>: icmp_seq=10 ttl=64 time=0.028 ms</div>






<div>64 bytes from <a href="http://169.254.193.164" target="_blank">169.254.193.164</a>: icmp_seq=11 ttl=64 time=0.027 ms</div><div><div>^C</div><div>--- 169.254.193.164 ping statistics ---</div></div><div>11 packets transmitted, 11 received, 0% packet loss, time 9998ms</div>






<div>rtt min/avg/max/mdev = 0.025/0.026/0.028/0.007 ms</div><div><br></div><div>But I still got the error when run LMS100</div><div><div><div>tienthanh@tienthanh-pc:~$ rosrun LMS1xx LMS100</div></div><div>[ INFO] [1298911023.270612023]: connecting to laser at : 169.254.193.164</div>






<div>[ERROR] [1298911023.270972132]: Connection to device failed</div></div><div><div></div><div><div><br></div><div><br></div><div class="gmail_quote">On Mon, Feb 28, 2011 at 3:39 PM, Tien Thanh <span dir="ltr"><<a href="mailto:nttputus@gmail.com" target="_blank">nttputus@gmail.com</a>></span> wrote:<br>






<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Hi,<div><br></div><div>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</div>






<div><div>tienthanh@tienthanh-pc:~$ ping 169.254.193.164</div><div>PING 169.254.193.164 (169.254.193.164) 56(84) bytes of data.</div>
<div>^C</div><div>--- 169.254.193.164 ping statistics ---</div><div>57 packets transmitted, 0 received, 100% packet loss, time 56079ms</div></div><div><br></div><div>Of course, it can not connect to ROS</div><div><div>tienthanh@tienthanh-pc:~$ rosrun LMS1xx LMS100</div>







<div>[ INFO] [1298902851.829334744]: connecting to laser at : 169.254.193.164</div><div>[ERROR] [1298902872.821389656]: Connection to device failed</div></div><div><br></div><div>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</div>







<div><br></div><div>Cheers,</div><div><br></div><div><div><div></div><div><br><br><div class="gmail_quote">On Mon, Feb 28, 2011 at 11:59 AM, Jochen Sprickerhof <span dir="ltr"><<a href="mailto:ros-users@jochen.sprickerhof.de" target="_blank">ros-users@jochen.sprickerhof.de</a>></span> wrote:<br>







<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
* Tien Thanh <<a href="mailto:nttputus@gmail.com" target="_blank">nttputus@gmail.com</a>> [2011-02-28 11:44]:<br>
> Hi,<br>
<div><br>
Hi,<br>
<br>
> After connect laser scanner, I can ping it, and this is my ifconfig<br>
> tienthanh@tienthanh-pc:~$ ifconfig<br>
> eth0      Link encap:Ethernet  HWaddr e0:cb:4e:da:d2:71<br>
>           inet addr:10.33.107.93  Bcast:10.33.107.255  Mask:255.255.252.0<br>
>           inet6 addr: fe80::e2cb:4eff:feda:d271/64 Scope:Link<br>
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>
>           RX packets:235218 errors:0 dropped:0 overruns:0 frame:0<br>
>           TX packets:28801 errors:0 dropped:0 overruns:0 carrier:0<br>
>           collisions:0 txqueuelen:1000<br>
>           RX bytes:91400508 (91.4 MB)  TX bytes:3659091 (3.6 MB)<br>
>           Interrupt:28 Base address:0x6000<br>
><br>
> I set the IP: rosparam set /LMS1xx/host 10.33.107.93<br>
<br>
</div>you have to use the IP of the LMS100, not the one of your host ;)<br>
<br>
Cheers,<br>
<font color="#888888"><br>
Jochen<br>
</font></blockquote></div><br><br clear="all"><br></div></div><div>-- <br>Tien Thanh Nguyen<br>Erasmus Mundus Master Program<br>EU4M - European Union Master in Mechatronics and Micro-mechatronics systems <br>Hochschule Karlsruhe Technik und Wirtschaft - Germany<br>








Ecole Nationale Superieure de Mecanique et de Microtechniques de Besancon - France<br>Phone-mobile : +32.(0)499239087<br><a href="http://www.eu4m.eu" target="_blank">http://www.eu4m.eu</a><br>
</div></div>
</blockquote></div><br><br clear="all"><br></div></div>-- <br>Tien Thanh Nguyen<br><br>
</div>
<br></div></div><div>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></div></blockquote></div><br>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div></div></div><br>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Tien Thanh Nguyen<br><br>