<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Times New Roman","serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Sorry Eric I just saw your initial question. Yes “/dev/ttyUSB0” device is available as I was able to read sensor data from the SICK via Aria drivers (i.e. running “$ /usr/local/Aria/examples/./demo -rp /dev/ttyUSB1 -lp /dev/ttyUSB0”). <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Regarding the output, yes I agree it is very puzzling but that is what I get. If I disconnect the USB to serial adapter after waiting for a few minutes with no other output or response (i.e. the node is hanging or stuck in a loop) I get an error immediately saying that it was unable to open the serial device (sorry for being vague about the error output, I’m not at my work desk at the moment). I can post every output from every command in the tutorial tomorrow as well as the error I get when disconnecting the USB adapter. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Said.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> ros-users-bounces@code.ros.org [mailto:ros-users-bounces@code.ros.org] <b>On Behalf Of </b>Eric Perko<br><b>Sent:</b> 10 February 2011 19:33<br><b>To:</b> User discussions<br><b>Subject:</b> Re: [ros-users] SICK LMS 200 not initializing with sicktoolbox<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Thu, Feb 10, 2011 at 1:52 PM, <<a href="mailto:S.Al-Milli@surrey.ac.uk">S.Al-Milli@surrey.ac.uk</a>> wrote:<o:p></o:p></p></div><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><p class=MsoNormal>Hi,<br><br>I have a SICK LMS 200 laser scanner and I have connected to my laptop via a USB to serial port arapter and I have been trying to follow the tutorial for the sicktoolbox_wrapper (<a href="http://www.ros.org/wiki/sicktoolbox_wrapper/Tutorials/UsingTheSicklms" target="_blank">http://www.ros.org/wiki/sicktoolbox_wrapper/Tutorials/UsingTheSicklms</a>) and when I type in the command in terminal:<br><br>$ rosrun sicktoolbox_wrapper sicklms<br><br>I get the following output:<br><br>*** Attempting to initialize the Sick LMS...<br>       Attempting to open device @ /dev/ttyUSB0<o:p></o:p></p></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Could you confirm that you have a /dev/ttyUSB0 device available? <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>And that is the _only_ output you see? If so, that's quite surprising... I've never seen the sicklms node output so little before when it cannot connect to a SICK (even when I, say, don't have a USB adapter plugged in).<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><p class=MsoNormal><br>and the SICK LMS 200 fires up with orange and red lights for around 25 seconds and then the light changes to green. But that is all what happens and the above output is the only output I see in the terminal. I am not even able to terminate the node with Control+C but have to use Control+Z and then kill the process. I have followed the tutorial to the letter and have not missed anything. I have confirmed that the laser actually works with this setup through the Aria software where I was able to see data streaming from the laser in the terminal window. The ironic thing is that my colleague who has the exact same setup and versions of Ubuntu (10.10) and ROS (cturtle) on a Mac book was able to start streaming data from the laser through the sicktoolbox_wrapper with no problems whereas I have a brand new Dell Latitude E6510 laptop. Can you please help me identify where the problem is?<o:p></o:p></p></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Can you try killing and restarting the sicklms node after the SICK's light turns green? Are you certain that you and your colleague are using the exact same settings and parameters to the sicklms node? Also, can you try different USB ports on your computer (I've seen USB->Serial adapters be unusable on say, USB 3.0 ports of certain motherboards)?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>- Eric<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><p class=MsoNormal><br>Kind regards,<br><br>Said.<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><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></body></html>