17 lines
274 B
Python
17 lines
274 B
Python
from time import sleep
|
|
import robot
|
|
|
|
def main():
|
|
arlo = robot.Robot()
|
|
|
|
turn_time = 10
|
|
left_speed = 64
|
|
right_speed = 64
|
|
print(arlo.go_diff(left_speed, right_speed, 1, 0))
|
|
sleep(turn_time)
|
|
print(arlo.stop())
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|