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

Revision history [back]

click to hide/show revision 1
initial version

I would think this is what --ignore-src is meant for.

I would think this is what --ignore-src is meant for.


Edit:

following you, Should I run the command which is " rosdep install --ignore-src" ?

No, the full command should be:

rosdep install --from-paths ~/catkin_ws/src/iai_kinect2 --ignore-src -r

That will make rosdep look for packages in the ~/catkin_ws/src/iai_kinect2 directory, gather all the dependencies, check which you have installed, which are missing, then subtract all packages that it finds in ~/catkin_ws/src/iai_kinect2 (because of --ignore-src), and then install everything that is still missing.

I am running, but terminal show some errors to me:

rosdep: error: no packages or stacks specified

Well, yes. You give it no path and no package name, so it can't do anything for you.

Please also check the output of rosdep --help.