Skip to content

Commit

Permalink
while
Browse files Browse the repository at this point in the history
  • Loading branch information
SuragNuthulapaty committed Feb 24, 2024
1 parent a3c08ee commit c86e704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/moving_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
right_motor.stop()
time.sleep(dt)

for _ in range(8):
while True:
motor_rotations.move_forward(left_motor, right_motor, 2)
motor_rotations.rotate_cw_90_deg(left_motor, right_motor)
# motor_rotations.move_forward(left_motor, right_motor, 2)
Expand Down

0 comments on commit c86e704

Please sign in to comment.