From a3aa246e06b418f99e138b55bb45280937395b8a Mon Sep 17 00:00:00 2001
From: Djalim Simaila <DjalimS.pro@outlook.fr>
Date: Mon, 17 Apr 2023 16:44:47 +0200
Subject: [PATCH] fixed the arctan formula

---
 utils/math/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/math/utils.py b/utils/math/utils.py
index 0484df4..15baf25 100644
--- a/utils/math/utils.py
+++ b/utils/math/utils.py
@@ -92,4 +92,4 @@ def get_teta_from_x_y(xi:float, yi:float, x_mean:float, y_mean:float):
     :param y_mean: mean of y coordinates in the discrete range
     :return: teta for this point
     """
-    return np.arctan2((xi - x_mean),(yi - y_mean))
\ No newline at end of file
+    return np.arctan2((yi - y_mean),(xi - x_mean))
\ No newline at end of file
-- 
GitLab