Robotics StackExchange | Archived questions

Make clone a catkin_ws in same PC

I am working on a same project on same PC but at different times. We have different tasks. I want to make a clone of existing catkin work-space with in different folder. For example we have catkinws folder that consist all packages and project files. what i want is myws as folder name and this will contain same data (packages, project files etc.).

How can I make it?

Asked by Tallat Mahmood on 2020-01-29 06:01:32 UTC

Comments

It is not clear what you want to do.

If you just want the same set of packages, but compile everything, you can just cp the src folder or clone everything from wherever the packages came from (.rosinstall files help a lot there...)

If by "clone" you mean to also get all the compiled artifacts, there are quite a lot of questions about this here. See e.g. #q342129.

If all of you have to work at a separate package, you could even use workspace chaining/overlaying to separate common and "your" code...

Asked by mgruhler on 2020-01-29 06:48:50 UTC

Answers

Add src in my_ws .and then

$cd my_ws

$catkin_make

it will work

Asked by kallivalli on 2020-01-29 08:03:11 UTC

Comments