Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 670

Installing all ros dependencies of a single package rather than the entire workspace

$
0
0
Hello, I want to run something like rosdep install package and have it traverse the list of packages that it depends and install all system and distribution dependencies Example of my situation - package_b depends on package_a - package_c depends on package_a - package_a depends on system_dependency_e - package_b depends on system_dependency_f I want to execute something like rosdep install package_a --some-commands and install a, b, e, and f However when I execute that rosdep install always returns something like ``` ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: package_b: Cannot locate rosdep definition for [package_a] ``` But when I run rosdep install -i package_b It only installs b and f My workaround is to do ``` rosdep install -i $(rospack depends package_a) ``` But rospack requires all files to be in $ROS_PACKAGE_PATH and $ROS_PACKAGE_PATH only gets generated when the workspace is sourced and the workspace is only sourced after you build the workspace Can anyone help?

Viewing all articles
Browse latest Browse all 670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>