From ddd62ef8f807ec255db24b091680931d62ccb61a Mon Sep 17 00:00:00 2001 From: 27moorev <107634935+valenmoore@users.noreply.github.com> Date: Wed, 8 May 2024 14:21:56 -0400 Subject: [PATCH] updated ultrasonic function --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 6c25be0..7bab5d8 100644 --- a/main.py +++ b/main.py @@ -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 - 70) # turn in chosen direction drive.drive_forward() time.sleep(forward_time) angle = gps.get_heading()