✨
This commit is contained in:
@ -1,7 +1,15 @@
|
|||||||
|
from time import sleep
|
||||||
import robot
|
import robot
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
arlo = robot.Robot()
|
||||||
|
|
||||||
turn_time = 10
|
turn_time = 10
|
||||||
|
left_speed = 64
|
||||||
|
right_speed = 64
|
||||||
|
print(arlo.go_diff(left_speed, right_speed, 1, -1))
|
||||||
|
sleep(turn_time)
|
||||||
|
print(arlo.stop())
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Reference in New Issue
Block a user