From 8201952b4bb24cd22ddbcd5362194f9da37603d1 Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Wed, 28 Sep 2022 13:57:23 +0200 Subject: [PATCH] :sparkles: --- drive_between_arucos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drive_between_arucos.py b/drive_between_arucos.py index 6e7106d..cc9e2e7 100644 --- a/drive_between_arucos.py +++ b/drive_between_arucos.py @@ -40,7 +40,7 @@ def find_aruco(image): def find_arucos(arlo): aruco_dict = {} theta = np.deg2rad(-20) - rot = [[cos(theta), -sin(theta)], [sin(theta), cos(theta)]] + rot = np.array([[cos(theta), -sin(theta)], [sin(theta), cos(theta)]]) while True: arucos = find_aruco(arlo.take_photo())