From f7d459482abf36d32bdbb90e084b94e6993e9cf1 Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Wed, 2 Nov 2022 15:05:02 +0100 Subject: [PATCH] :sparkles: --- rally.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rally.py b/rally.py index c210f0e..7b4b0e6 100644 --- a/rally.py +++ b/rally.py @@ -117,7 +117,7 @@ def main(): position = cv2.aruco.estimatePoseSingleMarkers( np.array([arucos[landmark]]), 14.5, CAMERA_MATRIX, DIST_COEF )[1][0][0] - drive_distance = np.sqrt(position[0]**2 + position[2]**2) - 30 + drive_distance = np.sqrt(position[0]**2 + position[2]**2) - 25 noah.go_diff(POWER, POWER, 1, 1) print("Final bit") time.sleep((drive_distance * DRIVE_T)/1000)