We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df22331 + 620a880 commit 9c0e95eCopy full SHA for 9c0e95e
examples/motorkit_robot_test.py
@@ -3,8 +3,8 @@
3
# License: MIT License https://opensource.org/licenses/MIT
4
import time
5
6
-# Import the Robot.py file (must be in the same directory as this file!).
7
-import Robot
+# Import the motorkit_robot.py file (must be in the same directory as this file!).
+import motorkit_robot
8
9
10
# Set the trim offset for each motor (left and right). This is a value that
@@ -24,7 +24,7 @@
24
25
# Create an instance of the robot with the specified trim values.
26
27
-robot = Robot.Robot(left_trim=LEFT_TRIM, right_trim=RIGHT_TRIM)
+robot = motorkit_robot.Robot(left_trim=LEFT_TRIM, right_trim=RIGHT_TRIM)
28
29
# Now move the robot around!
30
# Each call below takes two parameters:
0 commit comments