Skip to content

Commit 42fb1bd

Browse files
committed
fix get_coords() bug
1 parent 878090a commit 42fb1bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymycobot/Interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def get_coords(self, id):
153153
Args:
154154
id: 1/2/3 (L/R/W).
155155
"""
156-
return self._mesg(ProtocolCode.GET_COORDS, id)
156+
return self._mesg(ProtocolCode.GET_COORDS, id, has_reply=True)
157157

158158
def send_coord(self, id, coord, data, speed):
159159
"""Send a single coordinate to the robotic arm

0 commit comments

Comments
 (0)