matzman666 / OpenVR-InputEmulator

An OpenVR driver that allows to create virtual controllers, emulate controller input, manipulate poses of existing controllers and remap buttons. A client-side library that communicates with the driver via shared-memory is also included.
GNU General Public License v3.0
710 stars 136 forks source link

WMR Reverb + Vive Tracker overreacting motion comp #182

Open onslope opened 4 years ago

onslope commented 4 years ago

I have tried for days to get the Vive Tracker to follow a correct track when it's selected as the motion compensation device. See link to video demonstrating the issue. YouTube - Problem Motion Comp Vive tracker + WMR People say it works but I can't get it to work.

I used to have VIVE Headset + Vive Tracker and it works flawlessly.

My setup is: -Bluetooth dongle + vive tracker + Vive 2 x Lighthouses -WMR HP Reverb Headset + controllers -SteamVR Beta -WMR for Steam Beta -OpenVR input emulator

Step1. I start to synch Vive Tracker with WMR Space using the Reverb Controller in OpenVR Space Calibrator. Adjust it for perfect position. (This does not change the Satellite position, they stay on floor level) Step2. I start OpenVR input emulator and select Vive Tracker and select motion compensation

ISSUE: This gives correct motion in XYZ but the motion is bigger than actual position change of the Tracker. It's like the WMR Reverb is now moving from an offset center somewhere because if I connect a Vive Control and hold it in my hand, the Vive Control also moves from the WMR Reverb Controller I keep in my other hand.

Is the Lighthouse position an issue? Should they be aligned with actual position in WMR space? How do I achieve this?

If anyone have been able to use this setup please help me out. I can't seem to solve it on my own.

Best regards

onslope commented 4 years ago

Possible solutions:

  1. Match the Vive Lighthouses Space with the Space of the WMR HMD? (I am only able to match the Vive Tracker to the Space. The Lighthouse position is not matched. This I believe distort the XYZ pivot point of the Vive tracker when selected as Motion Compensation unit)
  2. Possibility to lower the Motion Compensation effect of the selected unit? (This will at least reduce the effect of the WMR overreacting to the compensation)

Clip showing initial problem when activating motion compensation with the WMR HMD Reverb: https://youtu.be/Q3h4LdECylA

onslope commented 4 years ago

Try 2. Adjusted the WMR Reverb HDM Driver offset to match the lighthouse and tracker in Vive. More accurate compensation now but application (DCS) greyed out when started in the HMD. More feedback to come!

onslope commented 4 years ago

Try 3.. Well I have some tweaks you could try and give me some feedback on. Follow steps below. 1.Reset Openvr Space Calibrator. 2.Select Tracking unit as motion compensator. 3.Select WMR HMD 4.Adjust "Driver Offset" to match Vive Lighhouse and tracker unit (as close as possible)

  1. Only use the "WorldFromDriver Offset" Yaw to adjust the HMD rotation

...Still overcompensating

It should be a fixed XYZ point for WMR HMD and Vive Tracker... Somehow its not possible to fix these point togheter in VR space. Must be a way to programme these to match... coordinates are there for both HMD and Vive Tracker. Anyone got feedback on this? Getting all dizzy now from 2 hours of testing in DCS.. My brain is still spinning LOL