RTAB-Map¶
🐳 Start Container¶
Make sure your system meets the system requirements and have followed the setup instructions before using this workspace.
Run the following commands in a Ubuntu desktop environment. If you are using a remote server, make sure you're using a terminal within a remote desktop session (e.g., VNC) instead of SSH (i.e., don't use ssh -X or ssh -Y).
cd ~/ros2-essentials/template_ws/docker
docker compose build
xhost +local:docker
docker compose up -d
# The initial build will take a while, please wait patiently.
If your user's UID is
1000, you may replace thedocker compose buildcommand withdocker compose pull.
The commands in the following sections assume that you are inside the Docker container:
If the initial build somehow failed, run:
Once you have finished testing, you can stop and remove the container with:
LiDAR test with gazebo¶
- Launch Gazebo with turtlebot3 in
tmux - Run rtabmap LiDAR demo in a new
tmuxwindow
RGBD test with gazebo¶
- Launch Gazebo with turtlebot3 in
tmux - Run rtabmap LiDAR demo in a new
tmuxwindow
Dual sensor test with gazebo¶
- Launch Gazebo with turtlebot3 in
tmux - Run dual sensor demo in a new
tmuxwindow
Run with rqt¶
- Running in a new
tmuxwindow
Result¶
- After you've run the demo, you could find the following result directly.
-
LiDAR test

-
RGBD test

-
Dual sensor test

Reference¶
Existing issues¶
VTKwarningQVTKOpenGLWidget: Warning: In /build/vtk6-6.3.0+dfsg1/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 781 ...- It seems that the warning isn't a big deal. But it will interrupt debugging in the future.
- Possible solution : set
VTK_LEGACY_REMOVE, but it required to build from source.- Still not tested yet.
- Issue Reference