Robotics StackExchange | Archived questions

ROS cannot find any package in new workspace

I have two workspaces wsA and wsB with same packages. wsA is the original and wsB is a copy. I have gone through the catkin and overlaying tutorials with no avail. I have modified ROSPACKAGEPATH, done $ workspaceinit, $ catkinmake on wsB successfully, opened new terminals and done $ source ~/wsB/devel/setup.bash. Regardless, a roscd package always sends me to the original wsA folder. I've looked at other accepted answers and tried source /opt/ros/indigo/setup.bash first with no luck. It simply doesn't see wsB. Using ROS Indigo and Ubuntu 14.04 Any help would be appreciated, in particular the exact steps required to see ws_B.

Asked by ras_cal on 2016-05-27 18:49:32 UTC

Comments

Answers

Have you tried deleting ws_A's devel folder?

Asked by Icehawk101 on 2016-05-31 10:25:58 UTC

Comments

Was able to solve by following the steps here http://answers.ros.org/question/203205/cannot-find-workspace/ The key was deleting the ws_A build and devel folders. also insured that roscore wasn't running - not sure if that mattered or not.

Asked by ras_cal on 2016-06-01 15:10:52 UTC

Comments