From 5fdcf1c0dcafa0385e151463c9d5897de7eaa2a5 Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Wed, 2 Nov 2022 14:27:43 +0100 Subject: [PATCH] :sparkles: --- rally2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rally2.py b/rally2.py index 9a2b374..d0a2689 100644 --- a/rally2.py +++ b/rally2.py @@ -18,7 +18,7 @@ LANDMARK_POSITIONS = { POWER = 70 -TURN_T = 9.1 # 1 degree +TURN_T = 9.8 # 1 degree DRIVE_T = 22 # 1 centimeter RIGHT_WHEEL_OFFSET = 4 @@ -56,7 +56,7 @@ def look_around(noah, particles, cam, est_pose): print( "Object ID = ", objectIDs[i], ", Distance = ", dists[i], ", angle = ", angles[i]) if objectIDs[i] in LANDMARKS: - landmark_values.append((objectIDs[i], dists[i], angles[i])) + landmark_values.append((objectIDs[i], dists[i] + 22.5, angles[i])) # Compute particle weights for p in particles: