File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 33# License: MIT License https://opensource.org/licenses/MIT
44import 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
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:
4444
4545
4646# That's it! Note that on exit the robot will automatically stop moving.
47+
You can’t perform that action at this time.
0 commit comments