Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
anla-xu committed Aug 3, 2022
1 parent f83bb31 commit c68ddfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymycobot/Interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def stop(self, id):
"""
return self._mesg(ProtocolCode.STOP, id)

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

def get_base_coords(self, *args: int):
def get_base_coords(self, *args):
"""Convert coordinates to base coordinates. Pass in parameters or no parameters
Args:
Expand Down

0 comments on commit c68ddfa

Please sign in to comment.