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))