更新 CU/Detect.py

This commit is contained in:
hjw
2025-02-26 14:36:00 +00:00
parent 6a169bd915
commit 04b3d671ce

View File

@ -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