using myneteye S210

#following https://www.ybliu.com/2020/07/ORB-SLAM3-demo.html
sudo apt-get install build-essential
sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
sudo apt-get install libboost-all-dev libssl-dev libglew-dev libeigen3-dev
#opencv
git clone https://github.com/opencv/opencv.git
git checkout 3.3.1
mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ..
make -j3 
sudo make install
#if erro of scope follow
# https://www.programmersought.com/article/49391528040/
 
 
#pengolin
git clone https://github.com/stevenlovegrove/Pangolin.git
cd Pangolin && mkdir build && cd build 
cmake .. -DCMAKE_BUILD_TYPE=Release 
make -j 3 
make install
 
#orb-SLAM3
git clone https://github.com/UZ-SLAMLab/ORB_SLAM3
cd ORB_SLAM3
chmod a+x build.sh
./build.sh
 
#get sample code
 
wget -c http://robotics.ethz.ch/~asl-datasets/ijrr_euroc_mav_dataset/machine_hall/MH_01_easy/MH_01_easy.zip
 
unzip MH_01_easy.zip -d MH01
 
#Replace pathDatasetEuroc to you dataset path containing MH01.
# mono_euroc:
 
cd Examples/Monocular
./mono_euroc ../../Vocabulary/ORBvoc.txt EuRoC.yaml "$pathDatasetEuroc"/MH01 ./Examples/Monocular/EuRoC_TimeStamps/MH01.txt dataset-MH01_mono
mono_inertial_euroc:
 
cd Examples/Monocular-Inertial
./mono_inertial_euroc ../../Vocabulary/ORBvoc.txt EuRoC.yaml "$pathDatasetEuroc"/MH01 EuRoC_TimeStamps/MH01.txt dataset-MH01_monoi
 
 
#links
#https://github.com/slightech/MYNT-EYE-S-SDK