mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-06 08:42:32 -08:00
fix tests
This commit is contained in:
1 parent
e2e0a3d87d
commit
3ea39549ba
3 files changed
+1
-3
No files matched your search
@@ -98,7 +98,7 @@ class ForgetDeviceTest {
|
||||
// Same MAC over HID must survive a UDP forget
|
||||
val hidDevice = addDevice(appContext, DeviceOrigin.HID)
|
||||
val hidTracker = addTracker(appContext, hidDevice, 5)
|
||||
appContext.skeleton.context.dispatch(SkeletonActions.SetBonePose(BodyPart.UPPER_CHEST, null, Quaternion.IDENTITY, null, null))
|
||||
appContext.skeleton.context.dispatch(SkeletonActions.SetBonePose(BodyPart.UPPER_CHEST, Quaternion.IDENTITY, null, null))
|
||||
runCurrent()
|
||||
|
||||
forgetUdpDevice(appContext, MAC)
|
||||
|
||||
@@ -37,7 +37,6 @@ private fun bone(bodyPart: BodyPart, rotation: Quaternion = Quaternion.IDENTITY,
|
||||
bodyPart = bodyPart,
|
||||
headOffset = Vector3.ZERO,
|
||||
offset = Vector3(0f, -0.1f, 0f),
|
||||
boneOffset = Vector3.ZERO,
|
||||
rotation = rotation,
|
||||
acceleration = Vector3.ZERO,
|
||||
headPosition = headPosition,
|
||||
|
||||
@@ -25,7 +25,6 @@ private fun bone(bodyPart: BodyPart, rotation: Quaternion = Quaternion.IDENTITY,
|
||||
bodyPart = bodyPart,
|
||||
headOffset = Vector3.ZERO,
|
||||
offset = Vector3(0f, -0.1f, 0f),
|
||||
boneOffset = Vector3.ZERO,
|
||||
rotation = rotation,
|
||||
acceleration = Vector3.ZERO,
|
||||
headPosition = headPosition,
|
||||
|
||||
Reference in new issue
Block a user