Ask Your Question
0

Problem installing codai_sick_s300 (missing resource)

asked 2013-05-30 23:07:47 -0600

Bernhard gravatar image

updated 2013-05-30 23:47:15 -0600

Now that I found the appropriate driver, which would be the codai_sick_s300 I encountered a new problem. This package apparently depends on a very specific other package called serial_port. My issue with all that is that for some reason the ROS pages of the codai version for the Standard and Advanced versions of the S300 are gone and the appropriate package is gone as well, can't get to it with the Waybackmachine either.

Can anyone tell me how to use this driver nevertheless, or where I can change this dependency to use a different serial driver?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-05-31 02:54:42 -0600

Bernhard gravatar image

updated 2013-05-31 02:56:18 -0600

Looks like I was a little fast to ask on this one, right before I was about to call one of our contacts I came up with a better google search word and found the driver I was searching for, even more I got everything to run after a little tempering, I now get the raw data I was searching for.

Here's what I did to get there: 1. Found the driver serial_port which the codai_sick_s300 was programmed to use: searched for: svn code "serial_port" 2. The codai driver used one deprecated method and a false name.

stacks/codai_sick_s300/ros/src/codai_sick_s300_standard.cpp => codai_sick_s300.cpp

Then in the same file:

set_intensities_size(num_readings); => intensities.resize(num_readings); set_ranges_size(num_readings); => ranges.resize(num_readings);

After that everything was able to compile just fine, made a launch file for it, attached and started the scanner, and got the data.

edit flag offensive delete link more

Comments

can u give the link of the package that u used?

KrishKannan_007 gravatar imageKrishKannan_007 ( 2019-05-20 23:20:23 -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: 2013-05-30 23:07:47 -0600

Seen: 154 times

Last updated: May 31 '13