Skip to content

Commit 05c235b

Browse files
committed
Fix set_joint_min interface issue
1 parent 80cca9c commit 05c235b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymycobot/generate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def _mesg(self, genre, *args, **kwargs):
111111
command_data = self._encode_int16(command_data)
112112

113113
elif genre in [76, 77]:
114-
command_data = [command_data[0]] + self._encode_int16(command_data[1])
114+
command_data = [command_data[0]] + self._encode_int16(command_data[1]*10)
115115
elif genre == 115:
116116
command_data = [command_data[1],command_data[3]]
117117

@@ -642,7 +642,7 @@ def set_pin_mode(self, pin_no, pin_mode):
642642
return self._mesg(ProtocolCode.SET_PIN_MODE, pin_no, pin_mode)
643643

644644
def set_digital_output(self, pin_no, pin_signal):
645-
"""
645+
"""Set the terminal atom io status
646646
647647
Args:
648648
pin_no (int):

0 commit comments

Comments
 (0)