Jetson / Jetpack based ROS2 docker container workspace with STM32 driver, ZED camera, and RPLIDAR support.
-
Make scripts folder executable
$ cd /ros2bot/scripts $ chmod +x ./*
-
Build base docker container image
$ cd /ros2bot $ ./scripts/docker_build_base.sh
-
Login to docker hub
$ docker login
-
Push docker image to docker hub repository
$ docker push acampbellb/ros2bot:foxy-desktop-l4t-ros2bot-base
-
Build develop docker container image
$ cd /ros2bot $ ./scripts/docker_build_dev.sh
-
Push docker image to docker hub repository
$ docker push acampbellb/ros2bot:foxy-desktop-l4t-ros2bot-dev
-
Run docker container
$ sudo ./scripts/docker_run.sh
The container contains an ROS workspace directory that is bound to a host directory using a docker volume bind mount within the ros2bot repository. You can develop packages on the host and build them in the container.
Host workspace folder: /ros2bot/src
Container workspace: /home/ros/ros2bot_ws/src