Skip to content

Commit

Permalink
change file order of extrinsic.txt in data collection node
Browse files Browse the repository at this point in the history
  • Loading branch information
Passutte committed Oct 10, 2023
1 parent 4c48f22 commit f16719f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data_collect_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit f16719f

Please sign in to comment.