From 5bbb5d309139baba31a7175092833a6d36b13463 Mon Sep 17 00:00:00 2001
From: Federico Mandelli <federicomandelli@skywarder.eu>
Date: Mon, 20 May 2024 14:43:34 +0200
Subject: [PATCH] [WingController] Updated WES rotation

---
 src/boards/Parafoil/Configs/ActuatorsConfigs.h | 2 +-
 src/boards/Parafoil/Configs/WingConfig.h       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/boards/Parafoil/Configs/ActuatorsConfigs.h b/src/boards/Parafoil/Configs/ActuatorsConfigs.h
index 0968a7398..c4799d1dc 100644
--- a/src/boards/Parafoil/Configs/ActuatorsConfigs.h
+++ b/src/boards/Parafoil/Configs/ActuatorsConfigs.h
@@ -54,7 +54,7 @@ constexpr float RIGHT_SERVO_MIN_PULSE = 2460;            // [us]
 constexpr float RIGHT_SERVO_MAX_PULSE = 500;             // [us]
 
 // Parafoil twirl
-constexpr float SERVO_TWIRL_RADIUS = WingConfig::MAX_SERVO_APERTURE;  // [%]
+constexpr float SERVO_TWIRL_RADIUS = 0.5;  // [%]
 
 }  // namespace ActuatorsConfigs
 
diff --git a/src/boards/Parafoil/Configs/WingConfig.h b/src/boards/Parafoil/Configs/WingConfig.h
index 128a54465..e9def7f2f 100644
--- a/src/boards/Parafoil/Configs/WingConfig.h
+++ b/src/boards/Parafoil/Configs/WingConfig.h
@@ -36,7 +36,7 @@ namespace WingConfig
 #if defined(CLOSED_LOOP)
 constexpr int SELECTED_ALGORITHM = 0;
 #elif EARLY_MANEUVER
-constexpr int SELECTED_ALGORITHM = 1;
+constexpr int SELECTED_ALGORITHM   = 1;
 #elif SEQUENCE
 constexpr int SELECTED_ALGORITHM = 2;
 #elif ROTATION
-- 
GitLab