forked from RonaldSun/VI-Stereo-DSO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.bash
executable file
·28 lines (26 loc) · 1.22 KB
/
run.bash
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
#!/bin/bash
#usage: python xxx.py file_name
dataname="MH_01_easy"
#dataname="MH_02_easy"
#dataname="MH_03_medium"
#dataname="MH_04_difficult"
#dataname="MH_05_difficult"
#dataname="V2_03_difficult"
#dataname="V1_03_difficult"
# run dso
./build/bin/dso_dataset \
files0=/media/sjm/SJM_WIN/AILEARN/SLAM/data_set/${dataname}/mav0/cam0/data \
files1=/media/sjm/SJM_WIN/AILEARN/SLAM/data_set/${dataname}/mav0/cam1/data \
calib0=/home/sjm/projects/VI-Stereo-DSO/calib/euroc/cam0.txt \
calib1=/home/sjm/projects/VI-Stereo-DSO/calib/euroc/cam1.txt \
T_stereo=/home/sjm/projects/VI-Stereo-DSO/calib/euroc/T_C0C1.txt \
imu_info=/home/sjm/projects/VI-Stereo-DSO/calib/euroc/IMU_info.txt \
groundtruth=/media/sjm/SJM_WIN/AILEARN/SLAM/data_set/${dataname}/mav0/state_groundtruth_estimate0/data.csv \
imudata=/media/sjm/SJM_WIN/AILEARN/SLAM/data_set/${dataname}/mav0/imu0/data.csv \
pic_timestamp=/media/sjm/SJM_WIN/AILEARN/SLAM/data_set/${dataname}/mav0/cam0/data.csv \
pic_timestamp1=/media/sjm/SJM_WIN/AILEARN/SLAM/data_set/${dataname}/mav0/cam1/data.csv \
preset=0 mode=1 \
quiet=1 nomt=1 \
savefile_tail=nt_${dataname}\
use_stereo=1\
imu_weight=6 imu_weight_tracker=0.6 stereo_weight=0.5