Skip to content

Commit d6a55c4

Browse files
committed
Added is_controller_connected() return value description
1 parent 174658c commit d6a55c4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pymycobot/Interface.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ def is_controller_connected(self, id=0):
120120
121121
Args:
122122
id: 0/1/2/3 (ALL/L/R/W)
123+
124+
Return:
125+
1: Connected
126+
0: Disconnect
127+
-1 : Bad data
123128
"""
124129
return self._mesg(ProtocolCode.IS_CONTROLLER_CONNECTED, id, has_reply=True)
125130

0 commit comments

Comments
 (0)