Skip to content

Commit e81040d

Browse files
committed
Fix for setMotorControl() not working
1 parent 6efa753 commit e81040d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

mirte_robot/robot.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,10 @@ def __init__(
118118
self._stopping = False
119119
self._lock = threading.Lock()
120120

121-
self.CONTROLLER = "diffbot_base_controller"
121+
# Assuming we are only using the Python API for the MIRTE Pioneer. This
122+
# is only used for setMotorControl(), so all other functions should
123+
# (theoretically) still work on teh MIRTE Master.
124+
self.CONTROLLER = "mirte_base_controller"
122125

123126
self.PWM = 3 # PrivateConstants.PWM when moving to Python3
124127
self.INPUT = 0

0 commit comments

Comments
 (0)