This commit is contained in:
NikolajDanger
2022-09-07 13:52:24 +02:00
parent 692c77ff0a
commit 659a3b4e2f

View File

@ -11,8 +11,8 @@ RIGHT_WHEEL_OFFSET = 4
CLOCKWISE_OFFSET = 0.96
def clockwise_square(arlo):
arlo.go_diff(POWER, POWER + RIGHT_WHEEL_OFFSET, 1, 0)
sleep(TURN_T)
arlo.go_diff(POWER, POWER + RIGHT_WHEEL_OFFSET, 0, 1)
sleep(TURN_T * 0.5)
arlo.stop()
sleep(0.5)