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

how to find dependent packages in caktin

asked 2014-03-07 01:33:28 -0500

Kei Okada gravatar image

updated 2014-03-07 05:33:43 -0500

is there way to get list of the depend package as we used rospack depend, for catkin?

k-okada@kokada-t430s:/opt/ros/hydro/share/roslang$ rospack depends roslanag
[rospack] Error: no such package roslanag
k-okada@kokada-t430s:/opt/ros/hydro/share/roslang$ rospack depends-on roslanag
[rospack] Warning: no such package roslanag

UPDATE:

Original question is invalid, rospack depend should work.

$ rospack depends roslang
catkin
genmsg
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-03-07 02:46:18 -0500

Yuichi Chu gravatar image

the roslanag package does not exist. There is roslang package without 'a' in /opt/ros/hydro/share/,is this the one you are looking for? if it is ,you can try "rospack depends roslang"

edit flag offensive delete link more

Comments

no, I'd like to find roslang depends on these two package, (sorry that using roslang is not a good example) <run_depend>catkin</run_depend> <run_depend>genmsg</run_depend>

Kei Okada gravatar image Kei Okada  ( 2014-03-07 03:14:58 -0500 )edit

As the answer suggests `rospack depends roslang` will output the dependencies of the `roslang` package: `catkin` and `genmsg`

Dirk Thomas gravatar image Dirk Thomas  ( 2014-03-07 04:21:18 -0500 )edit

it works, I was confused when I pose original question. maybe forget to source /opt/ros/hydro/setup.bash or something. I'm very sorry to bother you.

Kei Okada gravatar image Kei Okada  ( 2014-03-07 05:32:43 -0500 )edit

No worries - that is what this platform is all about. And in the future someone else might find the question and answer helpful.

Dirk Thomas gravatar image Dirk Thomas  ( 2014-03-07 05:54:52 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-03-07 01:33:28 -0500

Seen: 506 times

Last updated: Mar 07 '14