Yersi88 / WMR-and-Vive-Tracker

Tutorial on how to use Vive Tracker for head tracking of WMR headset within SteamVR
44 stars 1 forks source link

Instructions for setting the tracker horizontal in software? #5

Open anonmon opened 3 years ago

anonmon commented 3 years ago

I did some brief testing with a 2.0 tracking puck, and setting it vertical in space, like you would mounted to a headset with the recommended mount, it did noticeably jitter and drift a little walking around in the playspace. A little of that would be occlusion from me holding it, but certainly not really any significant amount. Holding the puck parallel to the ground however, and the tracking was absolutely rock solid outside of when it would be unreasonable to expect it to be able to track (Deep in corners where Lighthouses couldn't see even a Lighthouse tracked HMD anyway). Makes sense, Lighthouses are set above you as default, and with the tracker vertical there's less surface area for the lasers to hit when you place it at obtuse angles compared to horizontal where at most common head angles you're likely to have a decent amount of coverage, assuming a standard Lighthouse arrangement.

So the question is, settings for doing that? I'd imagine it's require a bunch of changes to the config from what's recommended, but I don't have all of the required hardware to try this myself as of yet. I'd guess the "plus_z" would be 0, 1, 0, Instead of 0, 0, -1, like it says now. Positions going to be the annoying one though, as that's probably going to require tweaking two of the values instead of just the one.

kenthinson commented 2 years ago

This is what I used to get it working on top of my quest2. Position I have not messed with yet will try to tune it later.

    "head": {
        "plus_x": [
            -1,
            0,
            0
        ],
        "plus_z": [
            0,
            1,
            0
        ],
        "position": [
            0,
            0,
            -0.001500000013038516
        ]
    },

IMG_1472

0Human0 commented 2 months ago

Here's my version for the HP Reverb G2 fine-tuned so that everything lines up properly. It has the same positioning Kenthinson's tracker but on the Reverb, I figured someone would find this useful. }, "head": { "plus_x": [ -1, 0, 0 ], "plus_z": [ 0, 1, 0 ], "position": [ 0, 0.05, -0.055 ] },