Hi sir,
I want to move TCP along X, or Y or Z axis of tool coordinate by script. I know how to move TCP in base by script. The following is the function to move TCP in Z direction in base by script. Can anybody tell me what to do in tool coordinate instead of base coordinate?
def CUR_MoveZ(a, b, c):
Move up to safe postion after place
a is distance of m
b is acceleration of m/s^2
c is speed of m/s
pos = get_actual_tcp_pose()
pos[2]=pos[2]+a
movel(pos, b, c)
end