Hello all,
We have a large workspace with plenty packages coming from third party developers. At its moment, dependencies of those packages where solved using rosdep.
However, for documentation purposes we need the complete list of dependencies of all packages.
Is there a way of automatically generate that dependencies list? Something like an option on rosdep to not install anything, but just list all dependencies and output them to console or file.
So far I haven't find such a tool.
Thank you and best regards.
Edit:
Just tested rosdep
with --simulate --reinstall
options in a new workspace where some source has been placed.
First we run with --simulate
:
rosdep install --simulate --from-paths ~/workspaces/project/src --ignore-src
#[apt] Installation commands:
sudo -H apt-get install ros-indigo-hokuyo-node
It successfully list a ROS package dependency.
If we run also with --reinstall
:
rosdep install --simulate --reinstall --from-paths ~/workspaces/project/src --ignore-src
#[apt] Installation commands:
sudo -H apt-get install ros-indigo-hokuyo-node
sudo -H apt-get install libeigen3-dev
And it additionally shows an already installed non-ROS dependency.
We now install missing dependencies using rosdep:
rosdep install --from-paths ~/workspaces/project/src --ignore-src
And after that, we run it again with --simulate --reinstall
options:
rosdep install --simulate --reinstall --from-paths ~/workspaces/project/src --ignore-src
#[apt] Installation commands:
sudo -H apt-get install libeigen3-dev
It successfully lists the non-ROS dependency, but doesn't list the ROS dependency.
Running it without --reinstall
just gives emply output, as all dependencies are already installed:
rosdep install --simulate --from-paths ~/workspaces/project/src --ignore-src
So its seems that rosdep --reinstall
only lists/reinstalls non-ROS packages. Is that the expected --reinstall
behaviour?
Originally posted by IvanV on ROS Answers with karma: 329 on 2017-01-11
Post score: 8