basalt/scripts/eval_full/run_evaluations_tumvi.sh

39 lines
869 B
Bash
Raw Normal View History

2020-03-06 12:51:28 +01:00
#!/bin/bash
##
## BSD 3-Clause License
##
## This file is part of the Basalt project.
## https://gitlab.com/VladyslavUsenko/basalt.git
##
## Copyright (c) 2019-2021, Vladyslav Usenko and Nikolaus Demmel.
## All rights reserved.
##
2020-03-06 12:51:28 +01:00
set -e
set -x
DATASET_PATH=/data/tumvi/512_16/
DATASETS=(
dataset-corridor1_512_16
dataset-magistrale1_512_16
dataset-room1_512_16
dataset-slides1_512_16
)
folder_name=eval_results_tumvi
mkdir $folder_name
for d in ${DATASETS[$CI_NODE_INDEX-1]}; do
2020-03-06 13:08:14 +01:00
basalt_vio --dataset-path $DATASET_PATH/$d --cam-calib /usr/etc/basalt/tumvi_512_eucm_calib.json \
2020-03-06 13:47:21 +01:00
--dataset-type euroc --show-gui 0 --config-path /usr/etc/basalt/tumvi_512_config.json \
2020-03-06 12:51:28 +01:00
--result-path $folder_name/vio_$d --save-trajectory tum
mv trajectory.txt $folder_name/${d}_basalt_poses.txt
done
#./gen_results_tumvi.py $folder_name > euroc_tumvi.txt