From b7a9cf522716f3236d4077c75d7ed147a67200b4 Mon Sep 17 00:00:00 2001
From: wu_xinjun <bent20140204@outlook.com>
Date: 星期六, 02 四月 2022 22:30:23 +0800
Subject: [PATCH] speed up for reading and writing ply files

---
 src/microwave/parsers.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/microwave/parsers.py b/src/microwave/parsers.py
index ee14151..ccd2fb9 100644
--- a/src/microwave/parsers.py
+++ b/src/microwave/parsers.py
@@ -45,7 +45,7 @@
 
                         point_data = frame[i * 8 + sizeof(HeaderBlock): (i + 1) * 8 + sizeof(HeaderBlock)]
                         detection = DetectionBlock(header, footer, point_data)
-                        point = (detection.X, detection.Y, detection.Z)
+                        point = [detection.X, detection.Y, detection.Z]
                         point_cloud.append(point)
 
                     # append the point cloud data to the list

--
Gitblit v1.9.1