Ask Your Question
0

Problems Connecting to SICK LMS 291 Via USB Port

asked 2011-04-29 12:15:33 -0600

Jason gravatar image

updated 2012-07-02 13:50:18 -0600

mjcarroll gravatar image

Hello. When trying to connect the SICK LMS 291 camera to the computer using the navigation stack launch file:

<launch> <node pkg="sicktoolbox_wrapper" type="sicklms" name="sicklms" output="screen"> </node>

<node pkg="robot_2dnav" type="odometry" name="odometer" output="screen">

</node>

</launch>

it hangs at: * Attempting to initialize the Sick LMS... Attempting to open device @ /dev/ttyUSB0

for around ten seconds then responds with:

ERROR: I/O exception - SickLMS::_setupConnection: - Unable to open serial port ERROR: I/O exception - SickLMS::_setupConnection: - Unable to open serial port [sicklms-1] process has died [pid 11826, exit code 2]. log files: /home/jason/.ros/log/2c3bbec6-72be-11e0-b96b-0016ea7abacc/sicklms-1*.log

or using the sicktoolbox_wrapper tutorial- http://www.ros.org/wiki/sicktoolbox_w... - it just hangs at:

*** Attempting to initialize the Sick LMS...
Attempting to open device @ /dev/ttyUSB0

indefinitely. I was wondering if anyone had an idea of what I was doing wrong? I am connected via a serial to usb connector and am running ubuntu 10.10. Also when I open the C: drive it doesn't show that the SICK is connected, and I'm not sure if it is supposed to or not before I correctly run the commands I'm trying to run above. Any help would be greatly appreciated! Thanks, Jason

edit retag flag offensive close merge delete

Comments

Eric Perko gravatar imageEric Perko ( 2011-04-30 08:21:18 -0600 )edit
Are you talking about editing the code? If so then what I did was copy the sicklmswrapper over to my robot_2dnav package and edit that code as mentioned but I'm not sure that it called to that package or the unwritable one in the ros stack. Any ideas of if I should do that differently?
Jason gravatar imageJason ( 2011-05-02 13:41:10 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2011-09-02 11:52:38 -0600

kwc gravatar image

no activity > 1 month, closing

edit flag offensive delete link more
0

answered 2011-04-29 18:18:06 -0600

dornhege gravatar image

Simple guess: Do you have set permissions as in 1.3 in the link? Does the device exist under /dev/ttyUSB0? If it doesn't check the output of "dmesg" when you plug the device in and out.

Other than that: What do you mean with the C: drive? Does the SICK run with any other software, i.e. is the cabling correct?

edit flag offensive delete link more

Comments

Yes I did step 1.3 in the link and had the rw in the return line. Also I ran the dmesg command and it said that USB0 was connected. I don't have any other software to run the SICK with personally, but the grad students use it with some program on the Windows side but they aren't particularly familiar with Linux either. Also I meant to say it's not registered under my computer, like as a removable device. I.hope thus helps narrow down some things?
Jason gravatar imageJason ( 2011-05-02 13:35:45 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-04-29 12:15:33 -0600

Seen: 953 times

Last updated: Sep 02 '11