ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Make clone a catkin_ws in same PC

asked 2020-01-29 05:01:32 -0500

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 catkin_ws folder that consist all packages and project files. what i want is my_ws as folder name and this will contain same data (packages, project files etc.).

How can I make it?

edit retag flag offensive close merge delete

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...

mgruhler gravatar image mgruhler  ( 2020-01-29 05:48:50 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-01-29 07:03:11 -0500

kallivalli gravatar image

Add src in my_ws .and then

$cd my_ws

$catkin_make

it will work

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-01-29 05:01:32 -0500

Seen: 234 times

Last updated: Jan 29 '20