From f16719f5b1141f32ee34e7f5a9dc4e6ecad36af5 Mon Sep 17 00:00:00 2001 From: Pascal Sutter Date: Tue, 10 Oct 2023 11:33:32 +0200 Subject: [PATCH] change file order of extrinsic.txt in data collection node --- src/data_collect_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data_collect_node.py b/src/data_collect_node.py index 53e7527..8061a60 100644 --- a/src/data_collect_node.py +++ b/src/data_collect_node.py @@ -215,7 +215,7 @@ def __colorInfoCallback(self, color_info, args): return def __writeExtrinstic(self, pos, ori, path, name): - extric_list = [pos[0], pos[1], pos[2], ori[0], ori[1], ori[2], ori[3]] + extric_list = [ori[0], ori[1], ori[2], ori[3], pos[0], pos[1], pos[2]] open(path, 'w').close() # clear txt file fc = open(path, 'w') fc.writelines(str(extric_list))