From 76bf4ed4e2058bc0a90c878196627dea507a5a51 Mon Sep 17 00:00:00 2001 From: Alexander B Date: Sat, 10 Jan 2026 15:27:22 -0500 Subject: [PATCH] joystic tuneups --- ESP-IDF_NovaGlide/subsystems/controls/joystick.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ESP-IDF_NovaGlide/subsystems/controls/joystick.c b/ESP-IDF_NovaGlide/subsystems/controls/joystick.c index 0ea4b920b3..06f41ea211 100644 --- a/ESP-IDF_NovaGlide/subsystems/controls/joystick.c +++ b/ESP-IDF_NovaGlide/subsystems/controls/joystick.c @@ -200,8 +200,8 @@ void joystick_hal_update(joystick_hal_t *js, int32_t x_raw, int32_t y_raw) // ═══════════════════════════════════════════════════════════ // Different deadband thresholds for X and Y axes - const float deadband_x = 0.15f; // 15% steering deadband (wide zone) - const float deadband_y = 0.08f; // 8% throttle deadband (narrow zone) + const float deadband_x = 0.15f; // 15% steering deadband (wide zone) 0.15 + const float deadband_y = 0.08f; // 8% throttle deadband (narrow zone) 0.08 // Why 15% for X (steering)? // - Steering is very sensitive to drift