Skip to content

Commit c26bcf5

Browse files
committed
add Set to interpolation mode code
1 parent afcbc38 commit c26bcf5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,9 @@ def connect_mycobot(self):
439439
self.myCobot = MyCobot(port, baud, timeout=0.2)
440440
self.stop_wait(0.5)
441441
self.loger.info("connection succeeded !")
442+
self.myCobot.set_fresh_mode(0)
443+
self.stop_wait(0.1)
444+
self.loger.info("Set to interpolation mode !")
442445
self.btn_status(True)
443446
if self.language == 1:
444447
self.connect_btn.setText('DISCONNECT')

0 commit comments

Comments
 (0)