From 921a768d7391106b9bd5679bf85229ece1d022ba Mon Sep 17 00:00:00 2001 From: Champagne <1369741103@qq.com> Date: Fri, 20 Jun 2025 15:15:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'py/measure=5Flib.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/measure_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/measure_lib.py b/py/measure_lib.py index 44c6597..617fcac 100644 --- a/py/measure_lib.py +++ b/py/measure_lib.py @@ -183,7 +183,7 @@ def vs_measurement(txt_name,position): y_bot = np.array(y_bot) x_top = np.array(x_top) y_top = np.array(y_top) - if not x_bot or y_bot or x_top or y_top + if not (x_bot or y_bot or x_top or y_top) return 1,1,1,1 # 拟合路沿上下直线方程