Closed LegendaryRifle closed 5 years ago
Hi, I can't seem to figure out the code for activating/deactivating the gripper. Here's the code that I've done so far:
def _set_end_effector_gripper(self, grip=False): msg = Message() msg.id = 63 msg.ctrl = 0x03 msg.params = bytearray([]) msg.params.extend(bytearray([0x01])) if grip is True: msg.params.extend(bytearray([0x01])) else: msg.params.extend(bytearray([0x00])) return self._send_command(msg) def grip(self, grip): self._set_end_effector_gripper(grip)
can you try with latest version of the library? I have added your code and it works correctly.
Hi, I can't seem to figure out the code for activating/deactivating the gripper. Here's the code that I've done so far: