✨
This commit is contained in:
2
rally.py
2
rally.py
@ -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]))
|
||||
|
Reference in New Issue
Block a user