Skip to content

Commit 9c0e95e

Browse files
authored
Merge pull request #33 from caternuson/robot_update
Update robot import
2 parents df22331 + 620a880 commit 9c0e95e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/motorkit_robot_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# License: MIT License https://opensource.org/licenses/MIT
44
import time
55

6-
# Import the Robot.py file (must be in the same directory as this file!).
7-
import Robot
6+
# Import the motorkit_robot.py file (must be in the same directory as this file!).
7+
import motorkit_robot
88

99

1010
# Set the trim offset for each motor (left and right). This is a value that
@@ -24,7 +24,7 @@
2424

2525
# Create an instance of the robot with the specified trim values.
2626

27-
robot = Robot.Robot(left_trim=LEFT_TRIM, right_trim=RIGHT_TRIM)
27+
robot = motorkit_robot.Robot(left_trim=LEFT_TRIM, right_trim=RIGHT_TRIM)
2828

2929
# Now move the robot around!
3030
# Each call below takes two parameters:

0 commit comments

Comments
 (0)