Robotics StackExchange | Archived questions

rosws init ~/rosbuild_ws ~/catkin_ws/devel not working?

Hello, I recently followed the instructions given here so that I could run both rosbuild and catkin workspaces together. However, even after adding the line:

source ~/rosbuild_ws/setup.bash

to the end of my .bashrc file and bringing up a new terminal, my ~/rosbuildws directory is not in my ROSPACKAGEPATH. This means (among other things) that I can't run rosmake on a package located under ~/rosbuildws. Or, if I already have a package under ~/rosbuildws like ~/rosbuildws/my_package, I cannot use 'roscd' to move into it:

$ roscd my_package
roscd: No such package/stack 'my_package'

I can work around the problem by manually adding ~/rosbuildws to my ROSPACKAGEPATH, but shouldn't using 'rosws init ~/rosbuildws ~/catkin_ws/devel' make this unnecessary?

Thanks!
patrick

Asked by Pi Robot on 2014-04-23 13:24:50 UTC

Comments

Answers