Hi,<br>I'm trying to use the sicktoolbox_wrapper stack with a SICK LMS200 laser rangefinder (connected over serial; port /dev/ttyS0). I set the permissions as described here (<a href="http://www.ros.org/wiki/sicktoolbox_wrapper/Tutorials/UsingTheSicklms">http://www.ros.org/wiki/sicktoolbox_wrapper/Tutorials/UsingTheSicklms</a>) -- it shows: "crw-rw-rw- 1 root dialout 4, 64 2010-07-13 11:36 /dev/ttyS0". However, I get an error when I run the following:<br>
<br>rishi@rishi-portable:~$ rosrun sicktoolbox_wrapper sicklms _port:=/dev/ttyS0 _baud:=38400<br><br>The error:<br><br>    *** Attempting to initialize the Sick LMS...<br>    Attempting to open device @ /dev/ttyS0<br>        Device opened!<br>
    Attempting to start buffer monitor...<br>        Buffer monitor started!<br>    Attempting to set requested baud rate...<br>A Timeout Occurred!  2 tries remaining<br>A Timeout Occurred!  1 tries remaining<br>A Timeout Occurred - SickLIDAR::_sendMessageAndGetReply: Attempted max number of tries w/o success!<br>
    Failed to set requested baud rate...<br>    Attempting to detect LMS baud rate...<br>        Checking 19200bps...<br>A Timeout Occurred!  2 tries remaining<br>A Timeout Occurred!  1 tries remaining<br>A Timeout Occurred - SickLIDAR::_sendMessageAndGetReply: Attempted max number of tries w/o success!<br>
        Checking 38400bps...<br>A Timeout Occurred!  2 tries remaining<br>A Timeout Occurred!  1 tries remaining<br>A Timeout Occurred - SickLIDAR::_sendMessageAndGetReply: Attempted max number of tries w/o success!<br>        Checking 500Kbps...<br>
A Timeout Occurred!  2 tries remaining<br>A Timeout Occurred!  1 tries remaining<br>A Timeout Occurred - SickLIDAR::_sendMessageAndGetReply: Attempted max number of tries w/o success!<br>ERROR: I/O exception - SickLMS::Initialize: failed to detect baud rate!<br>
[ERROR] [1279035417.096500632]: Initialise failed! are you using the correct device path?<br>[ERROR] [1279035417.096682835]: woah! error!<br><br>It seems the issue is the baud rate, but I set it manually in my rosrun command -- any ideas?<br>
Thanks!<br>Rishi<br><br clear="all">Rishi Bedi<br><a href="mailto:rbedi100@gmail.com">rbedi100@gmail.com</a><br>