From 04b3d671ce5aa9df88f3f14d87e096bf4345432d Mon Sep 17 00:00:00 2001 From: hjw <1576345902@qq.com> Date: Wed, 26 Feb 2025 14:36:00 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20CU/Detect.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CU/Detect.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CU/Detect.py b/CU/Detect.py index 271e7d7..e470d7d 100644 --- a/CU/Detect.py +++ b/CU/Detect.py @@ -38,7 +38,12 @@ class Detect: target_position, noraml_base = getPosition(*xyz, *uvw, None, points) position = Real_Position().init_position(*target_position[:3], *noraml_base[:3]) - position.Z = position.Z + 200 + Real_Position.a = uvw[0] + Real_Position.b = uvw[1] + Real_Position.c = uvw[2] + + position = Real_Position().init_position(*target_position[:3], *noraml_base[:3]) + position.Z = position.Z self.detect_position = position self.detect_status = DetectStatus.DOk