From 9bf156ccb839ca927ac5ec51c5e6e9e4b12cacef Mon Sep 17 00:00:00 2001 From: kinect-bot Date: Thu, 26 Nov 2026 22:37:56 -0500 Subject: [PATCH] revert(mapping): restore original smoothing (the raised jitter-radius over-damped the hand, making the cursor track worse) --- core/mapping/mapping.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/core/mapping/mapping.h b/core/mapping/mapping.h index 723fd5f..27bd915 100644 --- a/core/mapping/mapping.h +++ b/core/mapping/mapping.h @@ -35,15 +35,11 @@ struct MappingConfig { }; struct SmoothingParameters { - // Tuned for a stable menu hand-cursor: the game maps HAND relative to the - // SHOULDER, so reference jitter (MediaPipe shoulder drift during arm motion) - // makes the cursor jump. Higher smoothing + a wider jitter dead-zone steady - // it; lower prediction stops velocity overshoot from amplifying jitter. - float smoothing = 0.7f; - float correction = 0.3f; - float prediction = 0.2f; - float jitter_radius = 0.09f; - float max_deviation_radius = 0.13f; + float smoothing = 0.6f; + float correction = 0.4f; + float prediction = 0.4f; + float jitter_radius = 0.04f; + float max_deviation_radius = 0.07f; }; contract::Vector4 depth_image_to_skeleton(