Carollour
Carollour

Reputation: 85

Setting up ROS catkin/rosbuild

I have both a catkin_ws and a rosbuild_ws. However, when I use the command roscd I can only go to the one I've sourced last, i.e.:

This also means that rosbuild cannot use catkin packages and vice versa.

What can I do?

Upvotes: 1

Views: 389

Answers (1)

luator
luator

Reputation: 5017

It is possible to use multiple workspaces by sourcing the first one as usual and the following ones with the --extend flag.
This worked for me with multiple catkin workspaces. Not sure if it will also work with a mixture of catkin and rosbuild but at least it is worth a try:

source ~/rosbuild_ws/setup.bash
source ~/catkin_ws/devel/setup.bash --extend

Upvotes: 1

Related Questions