From 51b29110bc0685a548763b939ddb7daeeea10206 Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Mon, 31 Oct 2022 14:48:20 +0100 Subject: [PATCH] :sparkles: --- rally2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rally2.py b/rally2.py index 3c30f14..38e85e9 100644 --- a/rally2.py +++ b/rally2.py @@ -296,7 +296,7 @@ def main(): print(est_pose) particles, est_pose = turn_towards_landmark(noah, particles, est_pose, landmark) drive_time = time_to_landmark(est_pose, landmark) - time_driven, est_pose, particles = drive_until_stopped(noah) + time_driven, est_pose, particles = drive_until_stopped(noah, particles) if not abs(time_driven - drive_time) < 0.5: # drunk_drive(noah) est_pose, particles = turn_90_degrees(noah, est_pose, particles)