mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-27 04:16:32 -08:00
Fix TapDetectionTest not compiling
This commit is contained in:
1 file changed
+2
-3
@@ -36,7 +36,7 @@ class TapDetectionTest {
|
||||
tapsNeeded: Int,
|
||||
events: List<AccelEvent>,
|
||||
bodyAccelerating: Boolean = false,
|
||||
motion: Motion = Motion.RESTING,
|
||||
thresholdMultiplier: Float = 1f,
|
||||
) {
|
||||
val state = TapDetectionBasicBehaviour.TrackerTapDetectionState(
|
||||
trackerId = 1,
|
||||
@@ -54,7 +54,7 @@ class TapDetectionTest {
|
||||
bodyAccelerating = bodyAccelerating,
|
||||
trackerTapDetectionState = state,
|
||||
trackerAcceleration = event.accel,
|
||||
trackerMotion = motion,
|
||||
thresholdMultiplier = thresholdMultiplier,
|
||||
),
|
||||
)
|
||||
}
|
||||
@@ -141,6 +141,5 @@ class TapDetectionTest {
|
||||
AccelEvent(tapDelay, lowAccel, expectedTap = false),
|
||||
AccelEvent(accelDelay, highAccel, expectedTap = false),
|
||||
),
|
||||
motion = Motion.ROTATING,
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user