From 1e31f7838bd7fe2aed8e85f87dc26f4a1fca099f Mon Sep 17 00:00:00 2001 From: cdeyw <827523911@qq.com> Date: Thu, 16 Jan 2025 09:25:49 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Trace/handeye=5Fcalibratio?= =?UTF-8?q?n.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Trace/handeye_calibration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Trace/handeye_calibration.py b/Trace/handeye_calibration.py index 619fa55..de2128e 100644 --- a/Trace/handeye_calibration.py +++ b/Trace/handeye_calibration.py @@ -54,7 +54,7 @@ def R_matrix(x,y,z,u,v,w): # 图像识别结果:xyz和法向量 -def getPosition(x,y,z,a,b,c,points): +def getPosition(x,y,z,a,b,c,rotation,points): target = np.asarray([x, y, z,1]) camera2robot = np.loadtxt('./Trace/com_pose2.txt', delimiter=' ') #相对目录且分隔符采用os.sep # robot2base = rotation