Skip to content

Commit e19c764

Browse files
committed
Add python-can import
1 parent 57e897d commit e19c764

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pymycobot/mycobotpro630.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import subprocess
1010
import logging
1111
import os
12+
import can
1213
from pymycobot.log import setup_logging
1314

1415

@@ -630,7 +631,7 @@ def start_robot(self, power_on_only=False):
630631
bool: True if start successful, False otherwise.
631632
"""
632633
self._power_off()
633-
time.sleep(0.5)
634+
time.sleep(1.0)
634635
power_on_ok = self.is_power_on()
635636
power_on_retry_count = 0
636637
while (not power_on_ok) and (power_on_retry_count <= 10):

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
pyserial
2+
python-can
23
pytest
34
flake8
4-
opencv-python
5+
opencv-python

0 commit comments

Comments
 (0)