From 650281905018001af1df7d0d88d039c3baea38c9 Mon Sep 17 00:00:00 2001
From: Thomas Lambert <t.lambert@uliege.be>
Date: Mon, 17 Jul 2023 10:01:21 +0200
Subject: [PATCH] fix(control): max wing pos is 34 deg

---
 controller/controller.ino | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/controller/controller.ino b/controller/controller.ino
index d6288c7..a98270c 100644
--- a/controller/controller.ino
+++ b/controller/controller.ino
@@ -59,7 +59,7 @@
   { 1, -1, -1, 1 }  // Encoder orientation
 #define MAX_WING_POS \
   { 3166, 2374, 1290, 1135 }  // Maximum wing angle (returned by encoder value)
-#define TRUE_MAX_ANGLE 38.07  // Maximum wing angle (measured on setup)
+#define TRUE_MAX_ANGLE 34.12  // Maximum wing angle (measured on setup)
 
 
 /*******************************************************************************
-- 
GitLab