更新 CU/Detect.py
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user