Skip to content

Commit c68ddfa

Browse files
committed
fix bug
1 parent f83bb31 commit c68ddfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymycobot/Interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def stop(self, id):
295295
"""
296296
return self._mesg(ProtocolCode.STOP, id)
297297

298-
def is_in_position(self, id, data: list, mode): # TODO 通信协议可能有问题,待完善
298+
def is_in_position(self, id, data, mode):
299299
"""Judge whether in the position.
300300
301301
Args:
@@ -957,7 +957,7 @@ def get_servo_temps(self, id):
957957
"""
958958
return self._mesg(0xE6, id, has_reply=True)
959959

960-
def get_base_coords(self, *args: int):
960+
def get_base_coords(self, *args):
961961
"""Convert coordinates to base coordinates. Pass in parameters or no parameters
962962
963963
Args:

0 commit comments

Comments
 (0)