UPDATE Vision 修复Z轴抓取

This commit is contained in:
cdeyw
2025-01-16 09:25:49 +00:00
committed by HJW
parent aa9fd3469b
commit 0febde6d12
5 changed files with 578 additions and 13 deletions

View File

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