When I follwed the code below and tried to get feedback from gripper,But I got a '?'#Library importationimport socket#Socket setingsHOST="192.168.12.101" #my ur ip PORT=63352 #PORT used by robotiq gripper#Socket communicationwith socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: #open the socket s.connect((HOST, PORT)) s.sendall(b'GET POS\n') data = s.recv(2**10)#Print finger position#Gripper finger position is between 0 (Full open) and 255 (Full close)print('Gripper finger position is: ', data)and I got the feedback:Gripper finger position is: b'POS ?\n'.and my question is: the ? should be something else, right? like 1 2 or something if it works correctlyIf anyone knows what the problem is?
Hi, I am currently facing the exact same issue as you. I was wondering if you were able to figure out what the problem was?
Would it be possible to that you did not activated the gripper ? Position can be retrieved only after gripper activation.
#Library importation
#Gripper finger position is between 0 (Full open) and 255 (Full close)
and I got
the feedback:
Gripper finger position is: b'POS ?\n'.
and my question is: the ? should be something else, right? like 1 2 or something if it works correctly
If anyone knows what the problem is?