-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathevaluation.sh
executable file
·41 lines (31 loc) · 1.55 KB
/
evaluation.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
33
34
35
36
37
38
39
40
41
#! /bin/bash
echo "------------------------------"
RED='\E[1;31m' # 红
GREEN='\E[1;32m' # 绿
YELOW='\E[1;33m' # 黄
BLUE='\E[1;34m' # 蓝
PINK='\E[1;35m' # 粉红
RES='\E[0m' # 清除颜
#echo -e "input : ${YELOW}[file Name]${RED}"
#read filename
echo -e "input : ${YELOW}[comment]${RES}"
read comment
echo ${comment}
# python3 calTractaryDistance.py /home/wen/SLAM/Datasets/data/trajectory.txt
# if [ "${comment}" == '' ];then
# evo_rpe tum ./trajectory.txt ./GroundTruth.txt -a;
# else
# evo_rpe tum ./trajectory.txt ./GroundTruth.txt -as;
# fi
echo "--------------------------------------------------------"
# python3 ../evaluation/evaluate_ate_scale.py /home/wen/SLAM/Datasets/data/trajectory.txt ./trajectory.txt --plot outputPdf.pdf
evo_rpe tum ./app/trajectory.txt /home/wen/SLAM/Datasets/data/trajectory.txt -a
evo_ape tum ./app/trajectory.txt /home/wen/SLAM/Datasets/data/trajectory.txt -a
echo "--------------------------------------------------------"
# evo_rpe tum /home/wen/SLAM/Datasets/data/trajectory.txt ./trajectory.txt -a
# if [ "${comment}" == '' ];then
# evo_rpe tum ./trajectory.txt /home/wen/SLAM/Datasets/data/trajectory.txt -p --plot_mode=xy;
# else
# evo_ape tum ./trajectory.txt /home/wen/SLAM/Datasets/data/trajectory.txt -p --plot_mode=xy --save_plot ./Expriments/${comment}.jpg --save_results ./Expriments/${comment}.tar
# fi
# evo_rpe tum ./trajectory.txt ./backward.txt ../data/trajectory.txt -p -a --plot_mode=xy --save_plot ./Expriments/${comment}.jpg --save_results ./Expriments/${comment}.tar