Commit 8a185857 authored by oscar's avatar oscar

提交更新

parent 2d97cba5
......@@ -750,7 +750,7 @@ if __name__ == '__main__':
p_dir = "/home/oscar/ros/git/jfxmap_python/jfxmap/"
str_time = time.strftime("%Y-%m-%d_%H-%M-%S", time.localtime())
base_rootgenerate_root_path_path = os.path.join(generate_root_path, str_time)
generate_root_path = os.path.join(generate_root_path, str_time)
os.mkdir(generate_root_path)
start_t = time.time()
time_record = []
......@@ -893,7 +893,7 @@ if __name__ == '__main__':
totel_t = time.time() - start_t
totel_info = {"totel_time": totel_t}
time_record.append(totel_info)
totel_time_file = os.path.join(base_root_path,"totel_time.json")
totel_time_file = os.path.join(generate_root_path,"totel_time.json")
with open(totel_time_file,'w') as file_o:
json.dump(time_record,file_o,cls=NumpyEncoder,indent=4)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment