From 8f8099f618d6b910103555a04ae3b9830e1e6c92 Mon Sep 17 00:00:00 2001
From: wu_xinjun <bent20140204@outlook.com>
Date: 星期二, 22 三月 2022 13:00:56 +0800
Subject: [PATCH] optimization for auto slam

---
 src/mannul_slam.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/mannul_slam.py b/src/mannul_slam.py
index 215414e..55fd0af 100644
--- a/src/mannul_slam.py
+++ b/src/mannul_slam.py
@@ -2,6 +2,7 @@
 import numpy as np
 from slam.slam import compose_ply
 from utils import read_ply,write_ply,file_fliter
+from tqdm import tqdm
 
 def run(folder,alpha,beta,gamma,savename):
     
@@ -28,8 +29,9 @@
 
     data = []
     
+    print("reading ply files ...")
     # iterate the auto angle degree
-    for an in angle[index]:
+    for an in tqdm(angle[index]):
         ply_with_mutiangle = []
         for z in angle:
             if isinstance(z,list):
@@ -47,6 +49,7 @@
     cloudpoint = compose_ply(data)
 
     # write the file
+    print("Writing the data to disk ...")
     write_ply(cloudpoint, folder, savename)
 
 

--
Gitblit v1.9.1