提交 ecc6527c 编写于 作者: J Jiangtao Hu 提交者: Yifei Jiang

tool: fix dump msg bug.

上级 08538366
......@@ -76,7 +76,7 @@ def dump_bag(in_bag, out_dir):
continue
file_path = os.path.join(out_dir,
str(seq) + "_" + name_pb[0] + ".pb.txt")
write_to_file(file_path, msg)
write_to_file(file_path, name_pb[1])
topic_name_map[topic][1] = msg
......@@ -103,7 +103,6 @@ if __name__ == "__main__":
default=-1,
help="""time duration to extract in second, negative to extract all""")
g_args = parser.parse_args()
if os.path.exists(g_args.out_dir):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册