joystic tuneups

This commit is contained in:
2026-01-10 15:27:22 -05:00
parent 2798df9cc3
commit 76bf4ed4e2

View File

@@ -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