ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to reorganize the workspace

asked 2020-12-15 07:14:21 -0600

ManuU gravatar image

Hi, I'm integrating two robotic systems and I use only one workspace to do it. I want to reorganize the workspace and I'm wondering which is the correct approach. In particular, I could:

  • create two different workspaces, each for the single robotic system (They could talk together? How?)
  • maintain only one workspace for the two robotic systems (With what criteria can I organize the packages?)


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2020-12-16 20:41:27 -0600

srujan gravatar image

create two different workspaces, each for the single robotic system (They could talk together? How?)

catkin config --extend ~/some_ws/devel/ could be a nice way of underlaying one workspace to another workspace. Check if this is something you might be looking for.

edit flag offensive delete link more

answered 2020-12-15 13:11:41 -0600

jdlangs gravatar image

As long as the two systems use the same ROS interfaces for their communication, it shouldn't matter too much how you organize your development process. You have two main options for using separate workspaces:

  1. Have each workspace depend on a third separate one that only contains the interface definitions
  2. Have each workspace including a copy of the interface definition source (i.e., two clones of the repo). Just make sure if you change it in one workspace to bring the changes into the other workspace as well.

If you'd like more info/guidance it would help to expand your question to more concretely describe your scenario instead of only talking generally.

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: 2020-12-15 07:14:21 -0600

Seen: 69 times

Last updated: Dec 16 '20