Advantech Robotic Suite/Container/Utility ROS Container
Contents
Utility ROS Container
The Utility ROS Container image integrates various commonly used tools and utilities for ROS2 users, including RViz2, RQT, Cartographer, Nav2, and MoveIt. This container enables users to quickly access and utilize these features.
How To
Launch RViz2
Step1: Launch the docker container of util-ros2-humble
If the container has been launched before, you can skip this step.
$ cd /usr/local/Advantech/ros/container/docker
$ ./launch.sh util-ros2-humble
Step2: Accessing the container
$ docker exec -it util-ros2-humble bash
Step3: Launch rviz2
$ rviz2
Launch RQT
Step1: Launch the docker container of util-ros2-humble
If the container has been launched before, you can skip this step.
$ cd /usr/local/Advantech/ros/container/docker
$ ./launch.sh util-ros2-humble
Step2: Accessing the container
$ docker exec -it util-ros2-humble bash
Step3: Launch rviz2
$ rqt
Launch Cartographer
Step1: Launch the docker container of util-ros2-humble
If the container has been launched before, you can skip this step.
$ cd /usr/local/Advantech/ros/container/docker
$ ./launch.sh util-ros2-humble
Step2: Accessing the container
$ docker exec -it util-ros2-humble bash
Step3: Launch Cartographer
Please refer to ROS2-Cartographer for usage instructions.
Step1: Launch the docker container of util-ros2-humble
If the container has been launched before, you can skip this step.
$ cd /usr/local/Advantech/ros/container/docker
$ ./launch.sh util-ros2-humble
Step2: Accessing the container
$ docker exec -it util-ros2-humble bash
Step3: Launch Nav2
Please refer to ROS2-Navigation2 for usage instructions.
Launch MoveIt
Step1: Launch the docker container of util-ros2-humble
If the container has been launched before, you can skip this step.
$ cd /usr/local/Advantech/ros/container/docker
$ ./launch.sh util-ros2-humble
Step2: Accessing the container
$ docker exec -it util-ros2-humble bash
Step3: Launch MoveIt
Please refer to ROS2-MoveIt for usage instructions.
Note
When starting a GUI application inside a container, you might encounter rendering issues. A common cause is an incorrectly set DISPLAY environment variable for X11. To fix this:
1. Allow access to the user's X server from the local network.
Open a terminal to run the command.
$ xhost +local:
2. Set a specific DISPLAY environment variable in docker-compose.
$ vim /usr/local/Advantech/ros/container/docker/docker-compose/util-ros2-humble/docker-compose.yml