Skip to content

Commit

Permalink
updated ultrasonic function
Browse files Browse the repository at this point in the history
  • Loading branch information
valenmoore committed May 8, 2024
1 parent 3e3d6a1 commit 007bdeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def simple_check(ultra):
if turn_dir == 1:
rotate_to_heading(orig_angle, orig_angle + 70) # turn in chosen direction
else:
rotate_to_heading(orig_angle, orig_angle - 100) # turn in chosen direction
rotate_to_heading(orig_angle, orig_angle - 90) # turn in chosen direction
drive.drive_forward()
time.sleep(forward_time)
angle = gps.get_heading()
Expand Down

0 comments on commit 007bdeb

Please sign in to comment.