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

Unable to build dependancy with package in stack

asked 2017-02-21 07:57:20 -0500

raspet gravatar image

Hi and thanks for a great forum!

This is my first question, hope I have the correct tags and so forth.

So, I am trying to build a launch package connecting several packages. Building dependancies and launching nodes directly under the catkin_ws works fine but when I try to depend to "sicktoolbox_pls_wrapper" I receive:

Cmake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "sicktoolbox_pls_wrapper" with any of the following names:

sicktoolbox_pls_wrapperConfig.cmake sicktoolbox_pls_wrapper-config.cmake

The package is found with roscd and rospack find, I can also run the nodes in sicktoolbox_pls_wrapper with rosrun. Could the fact that the package is found in a stack be the problem? I have also tried to build with the dependency directed to the stack without success.

Does anyone have an idea? Thanks!

edit retag flag offensive close merge delete

Comments

What do you mean by "inside a stack"? Where did you get this package from? My guess currently is that the package is a rosbuild package, whereas your package is a catkin package. You cannot depend from a catkin to a rosbuild package. You would need to migrate the sick package to catkin as well.

mgruhler gravatar image mgruhler  ( 2017-02-22 01:28:47 -0500 )edit

Spot on! Did not think about that, I will try to migrate it. Thanks!

The package was found here link text I can prob look at the similar package (without PLS support) here link text?

Best regards!

raspet gravatar image raspet  ( 2017-02-22 04:50:28 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-02-22 06:34:36 -0500

raspet gravatar image

The problem was indeed that the package was rosbuild, after migrating it to catkin the package is found and can be called within the launch file.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-02-21 07:57:20 -0500

Seen: 128 times

Last updated: Feb 22 '17