Ros2 with docker - dev setup
Hi there, I'm new to ROS and seeking some advice for my dev setup.
- M1 Mac
- Ros2 Humble
So, I'm using docker to run ros on my mac. I dont want to rebuild the image after every little change, therefore I thought docker-compose would be good (for development). Also, I'm running a little container for getting the screen out (vnc).
Here is the current setup: https://github.com/RobinHeitz/ros2-do...
What works great: I can "work" (like create packages etc.) within the living container and see the changes within VSCode -> Great for development.
But:
Seems like docker-compose exec ros bash
is launching some new container or something like that, because I can't see a publishing message in another terminal tab (again, with docker-compose exec ros bash
).
I know its not a clear question, but I want know if this setup could work and what I have to change to access the running container and see nodes/ topics from other terminal tabs.
If Its bad, then I might need a hint in the right direction. Thank you!