From e69a6325188b20cf111c2af3b11ba1b127d9c8e2 Mon Sep 17 00:00:00 2001 From: GabHoo <56197287+GabHoo@users.noreply.github.com> Date: Tue, 9 Feb 2021 15:24:34 +0100 Subject: [PATCH] Update utils.py small fix: imu timestamp to sec --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index f8cc436..3396dd1 100644 --- a/utils.py +++ b/utils.py @@ -480,7 +480,7 @@ def load_IMU_datas_TUM_VI(path_to_sequence): for line in imu_file: if len(line) > 0 and not line.startswith("#"): imu_line=line.split(",") - timestamp.append(float(imu_line[0])*10e-9) + timestamp.append(float(imu_line[0])*1e-9) gyro_data.append([float(imu_line[1]),float(imu_line[2]),float(imu_line[3])]) acc_data.append([float(imu_line[4]),float(imu_line[5]),float(imu_line[6])])