Commit 1f61685d authored by oscar's avatar oscar

提交保存bin文件时数据格式

parent 1bde9e0d
......@@ -517,6 +517,7 @@ def Save_Cloud_File(cloud,json):
drawpointcloud += [pcd_save]
if g_saveFileType == 1:
savefile = os.path.join(cloud["path"],cloud["pcdName"])
cloud["np_pcd"] = cloud["np_pcd"].astype(np.float32)
cloud["np_pcd"].tofile(savefile)
jsn_pcd["fileuri"] = "5-3/pcd/" + cloud["pcdName"]
json.append(jsn_pcd)
......
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