ROS1 and ROS2 running parallel with some addons
80
Environment running ROS1(noetic-full) and ROS2(foxy-full) running without need of installation on actual system.
NOTE : This image is under construction. This is a trial image for ros-ros2 running parallel on Linux(Ubuntu).
Docker
xauth (
sudo apt-get install xauth)
Linux-Ubuntu 20.04
docker pull 1at7/ros-ros2:demo)run.sh file on your system and write following command.docker run --privileged -it \
--volume="/tmp/.X11-unix:/tmp/.X11-unix" \
--volume="/home/$USER:/home/host" \ # remove this if you do not want to share the host files
--device=/dev/dri:/dev/dri \
--env="DISPLAY=$DISPLAY" \
--env="QT_X11_NO_MITSHM=1" \
--env="TERM=xterm-256color" \ # remove in case if you do not want color scheme in docker prompt
-h ros-ros2-demo.local \ # change <name>.local to give preferred host name to the container
--name "ros-ros2-demo" \ # name of created container will be given here
1at7/ros-ros2:demo
chmod +x run.sh./run.shxauth list (in host terminal) copy the terminal outputdocker start <container-name> (in host terminal)docker exec -it <container-name> bash (in host terminal)
Now you are inside the containerxauth add <copied-text> (in container terminal)docker stop <container-name> #after exiting the container (in host terminal)yet to be tested
Content type
Image
Digest
Size
1.7 GB
Last updated
almost 5 years ago
docker pull 1at7/ros-ros2:demo