Commit 0fa52f5f authored by oscar's avatar oscar

提交更新

parent 5f0f4ad1
...@@ -800,7 +800,7 @@ if __name__ == '__main__': ...@@ -800,7 +800,7 @@ if __name__ == '__main__':
plane_list = glob.glob(os.path.join(base_dir_path,"*.json")) plane_list = glob.glob(os.path.join(base_dir_path,"*.json"))
if len(plane_list) <= 0 : if len(plane_list) <= 0 :
continue continue
plane_json = "plane.json"
generate_dir_path = os.path.join(generate_root_path , dir_g) generate_dir_path = os.path.join(generate_root_path , dir_g)
if os.path.exists(generate_dir_path) == False: if os.path.exists(generate_dir_path) == False:
os.mkdir(generate_dir_path) os.mkdir(generate_dir_path)
...@@ -836,7 +836,7 @@ if __name__ == '__main__': ...@@ -836,7 +836,7 @@ if __name__ == '__main__':
# seg,m = ground_segmentation(data=cropped_cropped[:,:3]) # seg,m = ground_segmentation(data=cropped_cropped[:,:3])
# m = [ 1.11119401e-03, -8.66741252e-04, 1.60358817e-01, 9.87057781e-01] # m = [ 1.11119401e-03, -8.66741252e-04, 1.60358817e-01, 9.87057781e-01]
jsn_file = os.path.join(base_dir_path, plane_list[0]) jsn_file = os.path.join(base_dir_path, plane_json)
m = [] m = []
with open(jsn_file, 'r',encoding='utf-8',errors='ignore') as fp: with open(jsn_file, 'r',encoding='utf-8',errors='ignore') as fp:
m = json.load(fp) m = json.load(fp)
......
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