ORB SLAM2 with PCL 도커 만들기

OpenJR·2022년 6월 21일
0
docker run -it --net=host -v /tmp/.X11-unix:/tmp/.X11-unix:ro -v ~/Desktop/dataset:/root/dataset -e DISPLAY=unix$DISPLAY --privileged --name "SLAM" ubuntu:18.04
apt update
apt install sudo git cmake vim wget unzip build-essential libgtk2.0-dev freeglut3 libglew-dev pkg-config
# Eigen
wget https://gitlab.com/libeigen/eigen/-/archive/3.2.10/eigen-3.2.10.tar.gz
tar -xvf eigen-3.2.10.tar.gz

# Pangolin
wget https://github.com/stevenlovegrove/Pangolin/archive/refs/tags/v0.5.tar.gz

# OpenCV
wget https://github.com/opencv/opencv/archive/refs/tags/3.2.0.tar.gz

# ORB SLAM2
git clone https://github.com/gaoxiang12/ORBSLAM2_with_pointcloud_map.git

# PCL
sudo apt install libpcl-dev

sudo ln -s ~/Git_repo/ORB_SLAM2/Examples/ROS/ORB_SLAM2 /opt/ros/melodic/share/ORB_SLAM2

profile
Jacob

0개의 댓글