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

You're likely to want to use the following command instead:

rosdep update
rosdep install --from-paths /path/to/catkin_ws/src --ignore-src -y --rosdistro=kinetic

The first updates your rosdep database, the second command looks in the src space for ROS packages, gathers all their dependencies, removes the ones satisfied by packages in your source space and then asks apt to install everything not present.

ROS path [1]=/home/user/ros/ros-pkg

from this it's not entirely clear to me whether you've actually created a Catkin workspace.

You'll want to create one. See Creating a workspace for catkin for some guidance.

You're likely to want to use the following command instead:

rosdep update
rosdep install --from-paths /path/to/catkin_ws/src --ignore-src -y --rosdistro=kinetic

The first updates your rosdep database, the second command looks in the src space for ROS packages, gathers all their dependencies, removes the ones satisfied by packages in your source space and then asks apt to install everything not present.

Additionally:

ROS path [1]=/home/user/ros/ros-pkg

from this it's not entirely clear to me whether you've actually created a Catkin workspace.

You'll want to create one. See Creating a workspace for catkin for some guidance.