From 056d91da52c49de5e0406ee7a625ae782841e979 Mon Sep 17 00:00:00 2001 From: Simon Pirkelmann Date: Sun, 18 Oct 2020 16:58:32 +0200 Subject: [PATCH] fixed error with turn around command --- remote_control/opencv_viewer_example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote_control/opencv_viewer_example.py b/remote_control/opencv_viewer_example.py index 823c139..510e379 100644 --- a/remote_control/opencv_viewer_example.py +++ b/remote_control/opencv_viewer_example.py @@ -244,7 +244,7 @@ class ArucoEstimator: if orientation == '>': angle = y_frac * angle_ab + (1 - y_frac) * angle_dc elif orientation == '<': - angle = - (y_frac * angle_ab + (1 - y_frac) * angle_dc) + angle = y_frac * angle_ab + (1 - y_frac) * angle_dc + np.pi elif orientation == 'v': angle = x_frac * angle_ad + (1 - x_frac) * angle_bc elif orientation == '^':