Skip to content

Commit c306ce2

Browse files
authored
Fixed the issue that Pro630 could not read data (#141)
* add MyCobot 280 X5PI API * add MyCobot 280 X5 PI doc * Fix MyCobot 280 X5 Pi doc errors * add MyCobot 280 X5 PI sokcet sever&client * MyCobot 280 X5 PI server compatible with python2 * rename MyCobot280x5pi to MyCobot280RDKX5 * fix MyArmMControl bugs * fix MyArmC bugs * fix myArmM&C demo bug * update M&C demo * fix MyCobot280 rdkx5 bug * fix MyArmM&C bugs * fix bugs * fix bug * fix ThreeHand api bug * Fixed the issue that Pro630 could not read data --------- Co-authored-by: Mrkun5018 <[email protected]>
1 parent 0a7f2fc commit c306ce2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pymycobot/pro630.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
class Pro630(CloseLoop):
12-
def __init__(self, port, baudrate="115200", timeout=0.1, debug=False):
12+
def __init__(self, port, baudrate="115200", timeout=0.1, debug=False, save_serial_log=False):
1313
"""
1414
Args:
1515
port : port string
@@ -27,6 +27,7 @@ def __init__(self, port, baudrate="115200", timeout=0.1, debug=False):
2727
GPIO.setwarnings(False)
2828
GPIO.setup(self.power_control_1, GPIO.IN)
2929
GPIO.setup(self.power_control_2, GPIO.OUT)
30+
self.save_serial_log = save_serial_log
3031
self._serial_port = serial.Serial()
3132
self._serial_port.port = port
3233
self._serial_port.baudrate = baudrate

0 commit comments

Comments
 (0)