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?
↧