ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Using sicktoolbox on hydro

asked 2013-11-08 06:10:47 -0500

iceburg6628 gravatar image

updated 2013-11-09 08:41:39 -0500

I'm trying to follow the sick laser tutorial, but I get this error "Couldn't find executable named sicklms" when i type rosrun sicktoolbox sicklms I am using ros hydro on ubuntu 12.04 I am following the tutorial for the sicktoolbox_wrapper.


*I ran rosrun sicktoolbox_wrapper sicklms , that's were the output comes from

Thank you, I am getting a timeout when trying to connecting to the Laser. This is the screen.

*** Attempting to initialize the Sick LMS...
    Attempting to open device @ /dev/ttyUSB0
SickLMS2xx::_setTerminalBaud: ioctl() failed while trying to set serial port info!
    NOTE: This is normal when connected via USB!
        Device opened!
    Attempting to start buffer monitor...
        Buffer monitor started!
    Attempting to set requested baud rate...
A Timeout Occurred! 2 tries remaining
A Timeout Occurred! 1 tries remaining
A Timeout Occurred - SickLIDAR::_sendMessageAndGetReply: Attempted max number of tries w/o success!
    Failed to set requested baud rate...
    Attempting to detect LMS baud rate...
        Checking 19200bps...
SickLMS2xx::_setTerminalBaud: ioctl() failed while trying to set serial port info!
    NOTE: This is normal when connected via USB!
A Timeout Occurred! 2 tries remaining
A Timeout Occurred! 1 tries remaining
A Timeout Occurred - SickLIDAR::_sendMessageAndGetReply: Attempted max number of tries w/o success!
        Checking 38400bps...
SickLMS2xx::_setTerminalBaud: ioctl() failed while trying to set serial port info!
    NOTE: This is normal when connected via USB!
A Timeout Occurred! 2 tries remaining
A Timeout Occurred! 1 tries remaining
A Timeout Occurred - SickLIDAR::_sendMessageAndGetReply: Attempted max number of tries w/o success!
        Checking 500Kbps...
ERROR: I/O exception - SickLMS2xx::_setTerminalBaud: ioctl() failed!
ERROR: I/O exception - SickLMS2xx::_setTerminalBaud: ioctl() failed!
ERROR: I/O exception - SickLMS2xx::_setTerminalBaud: ioctl() failed!
[ERROR] [1383940385.005614654]: Initialize failed! are you using the correct device path?
terminate called after throwing an instance of 'SickToolbox::SickThreadException'
Aborted (core dumped)

I'm using a Plugable USB to RS-232 connector to connect the laser, I'll RS directly.

edit retag flag offensive close merge delete

Comments

Please edit the main question instead of posting more information in the answer.

Chad Rockey gravatar image Chad Rockey  ( 2013-11-08 08:17:05 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-03-05 11:29:37 -0500

iceburg6628 gravatar image

Thank you for the help, it turn out my cable was bad.

edit flag offensive delete link more
0

answered 2013-11-08 07:33:15 -0500

Chad Rockey gravatar image

updated 2013-11-08 08:19:41 -0500

Also just noticed you need to run this command

rosrun sicktoolbox_wrapper sicklms

Did you run:

sudo apt-get install ros-hydro-sicktoolbox-wrapper

Also check if there's anything under:

ls /opt/ros/hydro/lib/sicktoolbox_wrapper/

If you're on a pioneer, please use the connect_delay parameter: http://wiki.ros.org/sicktoolbox_wrapper#Parameters

rosrun sicktoolbox_wrapper sicklms _connect_delay:=30.0

Does your laser have a solid green light, indicating it's ready for use?

Does it work in Windows or any other software? It's possible your cable or adapter is incorrect (RS 232, RS 422, broken wire).

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2013-11-08 06:10:47 -0500

Seen: 599 times

Last updated: Nov 09 '13