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

Revision history [back]

When you first run catkin_make in the root of a workspace, the devel directory gets created and the setup.bash file inside of that dir is designed to "overlay" the workspace on top of all other workspaces that have already been sourced. It is quite common to have many "active" workspaces at a single time. In your case, I'd do the following:

  1. In a new terminal run source ~/catkin_ws/devel/setup.bash
  2. cd into ~/ROS/ and run rm -r devel/ to remove the devel directory
  3. run catkin_make from the ~/ROS/ directory (this will re-create devel/)
  4. Then source ~/ROS/devel/setup.bash

Your environment should now have the ~/ROS/ workspace overlayed on the ~/catkin_ws/ workspace. Read more here: http://wiki.ros.org/catkin/Tutorials/workspace_overlaying