[ros-users] SICK LMS 200 not initializing with sicktoolbox
S.Al-Milli at surrey.ac.uk
S.Al-Milli at surrey.ac.uk
Thu Feb 10 23:17:56 UTC 2011
Hi,
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").
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.
Regards,
Said.
From: ros-users-bounces at code.ros.org [mailto:ros-users-bounces at code.ros.org] On Behalf Of Eric Perko
Sent: 10 February 2011 19:33
To: User discussions
Subject: Re: [ros-users] SICK LMS 200 not initializing with sicktoolbox
On Thu, Feb 10, 2011 at 1:52 PM, <S.Al-Milli at surrey.ac.uk<mailto:S.Al-Milli at surrey.ac.uk>> wrote:
Hi,
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 (http://www.ros.org/wiki/sicktoolbox_wrapper/Tutorials/UsingTheSicklms) and when I type in the command in terminal:
$ rosrun sicktoolbox_wrapper sicklms
I get the following output:
*** Attempting to initialize the Sick LMS...
Attempting to open device @ /dev/ttyUSB0
Could you confirm that you have a /dev/ttyUSB0 device available?
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).
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?
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)?
- Eric
Kind regards,
Said.
_______________________________________________
ros-users mailing list
ros-users at code.ros.org<mailto:ros-users at code.ros.org>
https://code.ros.org/mailman/listinfo/ros-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110210/36bdec85/attachment-0003.html>
More information about the ros-users
mailing list