From 5049f4a2c9ad5f9ae398f8a8f98d199eafb1f919 Mon Sep 17 00:00:00 2001 From: GabHoo <56197287+GabHoo@users.noreply.github.com> Date: Mon, 1 Mar 2021 00:56:22 +0100 Subject: [PATCH] Update utils.py fix format for proper loading --- utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.py b/utils.py index fb27b10..b71b3ee 100644 --- a/utils.py +++ b/utils.py @@ -504,7 +504,7 @@ def load_images_EuRoC(path_to_sequence): timestamps = [] framenames = [] - with open(os.path.join(path_to_sequence,"mav0/cam0/data.txt")) as times_file: + with open(os.path.join(path_to_sequence,"mav0/cam0/data.csv")) as times_file: for line in times_file: if len(line) > 0 and not line.startswith("#"): framenames.append(line.split(",")[1].rstrip()) @@ -517,7 +517,7 @@ def load_IMU_datas_TUM_VI(path_to_sequence): timestamp = [] gyro_data = [] acc_data = [] - with open(os.path.join(path_to_sequence,"mav0/imu0/data.txt")) as imu_file: + with open(os.path.join(path_to_sequence,"mav0/imu0/data.csv")) as imu_file: for line in imu_file: if len(line) > 0 and not line.startswith("#"): imu_line=line.split(",")