How do I include ros1 and ros2 packages in the same workspace?
My team uses a monorepo that contains all our ros nodes for our robots. We'd like to begin migrating some of our nodes to ros2 and use the ros1 bridge in a hybrid ros1/ros2 system so that we don't have to port all nodes all at once. Most tutorials I've found suggest keeping your ros1 nodes and ros2 nodes in separate workspaces, but that's not ideal because we use a monorepo that we clone into our ros workspace. And moving these into another repo would lose our git history.
How can we have ros1 and ros2 packages in the same repo?
may you can consider restructuring the repo and inside the repo you can create 2 sub folders named
ros1/
andros2/
and both to be build separately in their own folders. But mixing both the versions of ros is not possible as far as my knowledge.Okay, I think we are going to manage this within our docker container by mounting different packages into different locations in the container.