This commit is contained in:
NikolajDanger
2022-10-24 14:22:15 +02:00
parent 93df18a433
commit afd5be5eb3

View File

@ -57,7 +57,7 @@ def main():
noah.stop()
position = cv2.aruco.estimatePoseSingleMarkers(
np.array([arucos[landmark][0]]), 14.5, CAMERA_MATRIX, DIST_COEF
np.array([arucos[landmark]]), 14.5, CAMERA_MATRIX, DIST_COEF
)[1][0][0]
angle = np.rad2deg(np.arctan(position[0]/position[2]))