ORB-SLAM3¶
🐳 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/orbslam3_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 build
command 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:
Simple Test With Dataset¶
- Attach to the container
- Prepare data, only need to be done once
- Download dataset (~1.2G)
- ROS1 bag and ROS2 bag conversion reference
- Play the bag file in
tmux
- Run the ORB-SLAM3 in a new
tmux
window 2 windows will pop up, showing the results.