-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Containerizing diffbot development environment #85
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome @joeuser846, thanks for the Dockerfile!
Sorry about all the commits post PR! I tried to generalize the dockerfile at the last minute and needless to say I introduced a few issues that the commits fix. I've now retested (with the four fixes) and it builds and runs fine. BTW, I also containerized my remo robot. That is probably of less interest to others as stranding a special purpose device on Ubuntu 20.04LTS is less problematic than blocking one's main dev system. My remo runs on an RPi 4B with 8GB and the containerized ROS runs fine there too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, the additional changes/fixes are fine for me, sorry I didn't spot it before approving.
Could you please just change the file name from dockerfile
to Dockerfile
before squash merging? This way the syntax highlighting will detect it's Dockerfile
syntax.
This didn't make it to the default branch (noetic-devel) because it seems the repo https://github.com/joeuser846/diffbot/tree/docker was deleted before pressing "Squash and merge". Feel free to re-open the PR with the Dockefile, I think it would be very useful! |
Docker allows ROS1 to run on Ubuntu releases > 20.04LTS. I've upgraded my development machine to Ubuntu 22.04LTS and containerized (Docker) my diffbot build environment. It's working mostly very well. Performance is equal and navigating my diffbot via rviz is working fine. There are minor rendering problems when rviz displays to the host display but these are minor. and mostly just annoyances.
I'm providing my dockerfile which is the key to building diffbot into a Docker image. When the image is built you run containers which are clones of the image. Each container runs one process. I start one container where I run 'roscore', and another where I run 'roslaunch diffbot_navigation diffbot_hw.launch'.
I've set the dockerfile up so that it automatically builds a Docker image with Ubuntu 20.04LTS, ROS Noetic, and the full diffbot system, ready to run.
Hope others find this useful.