Skip to content

Update robot import #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/motorkit_robot_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# License: MIT License https://opensource.org/licenses/MIT
import time

# Import the Robot.py file (must be in the same directory as this file!).
import Robot
# Import the motorkit_robot.py file (must be in the same directory as this file!).
import motorkit_robot


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

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

robot = Robot.Robot(left_trim=LEFT_TRIM, right_trim=RIGHT_TRIM)
robot = motorkit_robot.Robot(left_trim=LEFT_TRIM, right_trim=RIGHT_TRIM)

# Now move the robot around!
# Each call below takes two parameters:
Expand Down