cbuchner1 / driver_leap

OpenVR Driver for Leap Motion
BSD 3-Clause "New" or "Revised" License
220 stars 73 forks source link

Support for different mounting positions #16

Open BuzzBumbleBee opened 8 years ago

BuzzBumbleBee commented 8 years ago

Hello,

Firstly got to thank the maintainer of this project for this amazing use for the leap motion, where it works .... it really works well.

So iv been playing with this and an OSVR HDK2 now for a while and the leap itself works fine, but i was seeing that when the leap was attached to the front of the HDK2 my position tracking kept drifting a fair bit, now i verified than non of the HMD LEDs where covered by the leap, but when using the calibration visualiser i noticed that the IR tracking camera was picking up the light emitted by the leap (see image below [Leap on the right of the HDK2])

Image of HDK2

To counter this I tried fixing the leap in the following locations :-

  1. Facing down attached to the bottom of the HMD (this reduced the interference with the HMD LEDs a lot and hands where still tracked close to the body)
  2. Hanging at about chest height from a lanyard (Again reduced interference from with the HMD and tracked .. but obviously lost tracking close above chin level)

In both of the above tests the geometry in game was altered a bit so the hand locations didn't translate properly to controller movement.

I'm happy to attempt implementing this and submitting a PR, however i have no idea where / how to add this.

Regards