fix the laser point x,y
This commit is contained in:
@@ -209,7 +209,7 @@ def compute_laser_position(circle_center, laser_point, radius, method):
|
||||
if not all([circle_center, radius, method]):
|
||||
return None, None
|
||||
cx, cy = circle_center
|
||||
lx, ly = laser_point
|
||||
lx, ly = 320, 230
|
||||
# 根据检测方法动态调整靶心物理半径(简化模型)
|
||||
circle_r = (radius / 4.0) * 20.0 if method == "模糊" else (68 / 16.0) * 20.0
|
||||
dx = lx - cx
|
||||
|
||||
Reference in New Issue
Block a user