Files
SLAM_Docker_Env/README.md
2025-11-03 10:51:52 -08:00

43 lines
1.0 KiB
Markdown

## Docker Environment for [SLAM in Autonomous Driving Book (SAD Book)](https://github.com/gaoxiang12/slam_in_autonomous_driving)
### System: Ubuntu 20.04 + ROS Noetic
```bash
# Clone the repository
git clone ssh://git@gitea.cuihang1201.synology.me:2222/hangpersonal/SLAM_Docker_Env.git
cd SLAM_Docker_Env
# Pull the Docker image
docker pull gitea.cuihang1201.synology.me/hangpersonal/sad-workspace:latest
# Start the Docker container
docker compose up -d
# Shutdown the Docker container
docker compose down
```
### Access the Ubuntu 20.04 GUI environment
```bash
# Open http://localhost:46080/vnc.html in your web browser to connect to
# the Ubuntu 20.04 desktop running inside the Docker container.
cd ~/workspace/slam_in_autonomous_driving
# Compile g2o first
cd ~/workspace/slam_in_autonomous_driving/thirdparty/g2o/
cmake .
make -j8
# Compile the source code
cd ~/workspace/slam_in_autonomous_driving
mkdir build && cd build
cmake ..
make -j8
```
<a href="url"><img src="./images/ubuntu.png" width="600"></a>