Revert "New tracker assignment + Fix concurency error with tap"

This reverts commit 12dd1cb314.
This commit is contained in:
loucass003 committed 2025-12-05 06:42:49 +01:00
1 parent 12dd1cb314
commit ce6b3439c9
8 files changed
+359 -364

No files matched your search

@@ -3,14 +3,13 @@ package dev.slimevr.tracking.processor.skeleton
import dev.slimevr.VRServer
import dev.slimevr.tracking.processor.HumanPoseManager
import dev.slimevr.tracking.trackers.Tracker
import java.util.concurrent.CopyOnWriteArrayList
class TapDetectionManager(
val server: VRServer,
val skeleton: HumanSkeleton,
val humanPoseManager: HumanPoseManager,
) {
private var tapDetectors: MutableList<TapDetection> = CopyOnWriteArrayList()
private var tapDetectors: ArrayList<TapDetection> = arrayListOf()
var yawResetDetector: TapDetection? = null
var fullResetDetector: TapDetection? = null
var mountingResetDetector: TapDetection? = null