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

How to reorganize the workspace

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

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?)

Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

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

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
0

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

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

Question Tools

1 follower

Stats

Asked: 2020-12-15 07:14:21 -0500

Seen: 94 times

Last updated: Dec 16 '20