-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrun.sh
32 lines (27 loc) · 781 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
cd build/
dataset_subdir="MH_01_easy"
# MH_01_easy
# MH_03_medium
# MH_05_difficult
# For ubuntu22.04
dataset_root_dir="/media/horizon/Documents/My_Github/Datasets/Euroc/${dataset_subdir}"
if [ -d "${dataset_root_dir}" ]; then
./test_vio "${dataset_root_dir}/"
else
echo ">> Failed to find ${dataset_root_dir}/"
fi
# For windows
dataset_root_dir="/d/My_Github/Datasets/Euroc/${dataset_subdir}"
if [ -d "${dataset_root_dir}" ]; then
./test_vio "${dataset_root_dir}/"
else
echo ">> Failed to find ${dataset_root_dir}/"
fi
# For windows(wsl2) ubuntu20.04
dataset_root_dir="/mnt/d/My_Github/Datasets/Euroc/${dataset_subdir}"
if [ -d "${dataset_root_dir}" ]; then
./test_vio "${dataset_root_dir}/"
else
echo ">> Failed to find ${dataset_root_dir}/"
fi
cd ..