Skip to content

Commit bcb8fe3

Browse files
committed
Add conveyor belt interface
1 parent 5a5680c commit bcb8fe3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pymycobot/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
from pymycobot.pro400 import Pro400
3939
from pymycobot.pro400client import Pro400Client
4040
from pymycobot.myarmm_control import MyArmMControl
41-
41+
from conveyor_api import ConveyorAPI
4242
__all__ = [
4343
"MyPalletizer260",
4444
"MechArm270",
@@ -75,8 +75,8 @@
7575
"Pro400Client",
7676
"MyCobot280Socket",
7777
"MyCobot320Socket",
78-
"MyArmMControl"
79-
78+
"MyArmMControl",
79+
"ConveyorAPI"
8080
]
8181

8282
if sys.platform == "linux":

pymycobot/conveyor_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def flush(self):
125125
self._serial_port.flush()
126126

127127

128-
class Conveyor(SerialProtocol):
128+
class ConveyorAPI(SerialProtocol):
129129
class MotorModel:
130130
STEPPER_MOTOR_42 = 0x30
131131
STEPPER_MOTOR_57 = 0x31

0 commit comments

Comments
 (0)