diff --git a/square.py b/square.py index 2fac3c4..d4fab95 100644 --- a/square.py +++ b/square.py @@ -6,9 +6,9 @@ POWER = 70 TURN_T = 0.079 # 10 degrees DRIVE_T = 0.22 # 10 centimeter -RIGHT_WHEEL_OFFSET = 2 +RIGHT_WHEEL_OFFSET = 5 -CLOCKWISE_OFFSET = 0.9 +CLOCKWISE_OFFSET = 1 def wiggle(arlo): arlo.go_diff(50, 53, 1, 0) @@ -39,7 +39,7 @@ def clockwise_square(arlo): sleep(1) # Turning 90 degrees - arlo.go_diff(POWER, POWER + RIGHT_WHEEL_OFFSET, 1, 0) + arlo.go_diff(POWER, POWER, 1, 0) sleep(TURN_T * 10 * CLOCKWISE_OFFSET) arlo.stop() sleep(0.2)