We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61f9bf5 commit 92ea21aCopy full SHA for 92ea21a
pymycobot/ultraArm.py
@@ -647,14 +647,14 @@ def open(self):
647
with self.lock:
648
self._serial_port.open()
649
650
- def is_moving_end(self, timeout = 10):
+ def is_moving_end(self):
651
652
"""Get the current state of all home switches."""
653
command = ProtocolCode.IS_MOVING_END + ProtocolCode.END
654
self._serial_port.write(command.encode())
655
self._serial_port.flush()
656
self._debug(command)
657
- return self._request("isStop", timeout=10)
+ return self._request("isStop")
658
659
def sync(self):
660
while self.is_moving_end() != 1:
0 commit comments