25ms PREDICTION_CARRYOVER_TIME

This commit is contained in:
Erimel committed 2026-11-30 17:06:05 +01:00
1 parent 9937b42c46
commit 476d81584d
2 files changed
+2 -2

No files matched your search

@@ -117,7 +117,7 @@ data class SkeletonTogglesConfig(
@Serializable
data class SkeletonRatiosConfig(
val smoothingStrength: Float = 0.15f,
val predictionStrength: Float = 0.30f,
val predictionStrength: Float = 0.25f,
val spineCurvature: Float = 0.75f,
val imputeSpineFromUpperToLower: Float = DEFAULT_SPINE_UPPER_LOWER,
val interpolateUpperLegsTwistWithLowerLegs: Float = 0.85f,
@@ -36,7 +36,7 @@ private const val SMOOTHING_MS_MAX = 50.0
// Prediction
private const val PREDICTION_MS_MAX = 30.0
private val PREDICTION_CARRYOVER_TIME = 20.milliseconds // TODO might need to be tuned
private val PREDICTION_CARRYOVER_TIME = 25.milliseconds
private const val MAX_PREDICTION_CARRYOVER_RATIO = 0.5
// Used to minimize latency even more for arm tracking where it is more noticeable