Ask Your Question

Adding more packages to a wstool generated workspace

asked 2013-09-02 03:45:31 -0600

andrew-unit gravatar image

I have made a source build of hydro using the instructions here (substituting hydro for groovy):

I followed REP 131 and only made a rosinstall including viz.

However, now I would like to add perception to the workspace. So I created a new rosinstall as such:

~/ros_catkin_ws$ rosinstall_generator perception --rosdistro hydro --deps --wet-only > hydro-perception-wet.rosinstall

~/ros_catkin_ws$ wstool init -j8 src hydro-perception-wet.rosinstall

But when I tried that I got the following error:

Error: There already is a workspace config file .rosinstall at "src". Use wstool install/modify.

I tried looking for documentation of wstool here:

But the documentation is sparse. When I type wstool help, I don't see either install or modify as options.

Is there a way to build upon a previous wstool-created workspace or do I need to make a ros_catkin_ws_2 or something like that?

Any help would be appreciated!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-09-02 13:01:48 -0600

andrew-unit gravatar image

Based on dornhege's answer, I was able to use the following:

~/ros_catkin_ws$ wstool merge hydro-perception-wet.rosinstall -t src

~/ros_catkin_ws$ wstool update -j 4 -t src

edit flag offensive delete link more

answered 2013-09-02 04:03:33 -0600

dornhege gravatar image

Check out wstool merge.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-09-02 03:45:31 -0600

Seen: 4,482 times

Last updated: Sep 02 '13