How to use ROS with Docker inside a catkin_ws

asked 2021-04-14 17:52:37 -0500

Tawfiq Chowdhury gravatar image

I have docker installed on my Ubuntu (Jetpack) machine and I have a catkin_ws. I want to catkin_make (build) it and then roslaunch a launch file and rosrun a python script. I am not understanding how to do it. I am experienced with ROS but I am new to docker. Assistance will be much appreciated.

edit retag flag offensive close merge delete



As-is, your question does not appear to be a ROS question. It's a question about Docker usage.

I'd suggest to first get some more experience with Docker, as using it with ROS will then become much easier.

Apart from making sure your environment is correctly configured inside the container (ie: source the appropriate setup.bash) there isn't really anything special about using ROS with Docker when compared to other, non-ROS, programs.

It's not much, but as a starting point, you could take a look at wiki/docker.

gvdhoorn gravatar image gvdhoorn  ( 2021-04-15 01:46:54 -0500 )edit

Can you upload your dockerfile?

TzviH gravatar image TzviH  ( 2021-04-15 02:20:52 -0500 )edit