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 == '^':