turn_test.py

This commit is contained in:
NikolajDanger
2022-09-07 13:53:42 +02:00
parent 659a3b4e2f
commit dc47086e9e

View File

@ -26,11 +26,11 @@ def clockwise_square(arlo):
# Turning 90 degrees
arlo.go_diff(POWER, POWER + RIGHT_WHEEL_OFFSET, 1, 0)
sleep(TURN_T * 9 * CLOCKWISE_OFFSET)
sleep(TURN_T * 8.5 * CLOCKWISE_OFFSET)
arlo.stop()
sleep(0.2)
arlo.go_diff(POWER, POWER + RIGHT_WHEEL_OFFSET, 0, 1)
sleep(TURN_T * 1.5)
sleep(TURN_T)
arlo.stop()