Skip to main content
Participant
November 9, 2015

Need for help to Get the real-world yaw

I found that DK2 is has a random (yaw==0) direction in real-world when runtime is restarting or DK2 is repluging in.

For improving user experience,I need to handle calibrating DK2's real-world (yaw==0) direction to real-world's north direction by codes and without any recenter button users have to calibrate by themselves.

And now, my problem is that how to get or calculate DK2's current (yaw==0) real-world direction refferrence to real-world north direction.
Any idea will be appreciated and thx in advance.

    8 replies

    Up and Coming
    November 9, 2015
    Are you sure you don't have the Rift set to reorient on start in your application? As long as you don't do that it should use the yaw reference set in the config tool demo app.
    akFHeavenAuthor
    Participant
    November 10, 2015
    "owenwp" wrote:
    Are you sure you don't have the Rift set to reorient on start in your application? As long as you don't do that it should use the yaw reference set in the config tool demo app.


    Yes, I‘m sure.

    I know the demo app can recenter the yaw, but manual reorienting is the last choice if there's no way to get the data mentioned above by codes.
    Up and Coming
    November 10, 2015
    The yaw and center position you set in the demo app is saved in your profile. If that's not the case maybe there is something wrong with your installation.
    Inspiring
    November 10, 2015
    So I'm not sure you can detect north direction with the Oculus tracker, so this may be quite a challenge. There is one thing that may help you:

    LeveledCameraPose— the pose of the tracker relative to the tracking origin but with roll and pitch zeroed out. You can use this as a reference point to render real-world objects in the correct place.

    https://developer.oculus.com/documentat ... dg-sensor/

    This will give you some sort of reference point, however you will still need some additional hardware device to tell you which way is north.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    akFHeavenAuthor
    Participant
    November 12, 2015
    "owenwp" wrote:
    The yaw and center position you set in the demo app is saved in your profile. If that's not the case maybe there is something wrong with your installation.


    Yes I know this and there is nothing wrong with my installation, but this way can't match my requirement either.
    akFHeavenAuthor
    Participant
    November 12, 2015
    "cybereality" wrote:
    So I'm not sure you can detect north direction with the Oculus tracker, so this may be quite a challenge. There is one thing that may help you:

    LeveledCameraPose— the pose of the tracker relative to the tracking origin but with roll and pitch zeroed out. You can use this as a reference point to render real-world objects in the correct place.

    https://developer.oculus.com/documentat ... dg-sensor/

    This will give you some sort of reference point, however you will still need some additional hardware device to tell you which way is north.


    Calibrating with the tracker is vary accurate.But this way has an uncurable defact that the tracker can't not work without linking to the HMD. It limits my app's main feature which allow users free to walk around vr space.
    Up and Coming
    November 13, 2015
    So are you saying that you want the HMD to have consistent absolute yaw without using the camera at all? That is impossible with existing technology. You need some sort of external reference to measure against. If not a camera then some other device or trackable marker in a fixed location that can give you position and bearing, like Valve's lighthouse. A compass would sort of maybe work but magnetic fields are hugely inconsistent indoors, to the point where you might be turned 90 degrees on one side of the room. This is part of why the camera is there in the first place.
    akFHeavenAuthor
    Participant
    November 19, 2015
    "owenwp" wrote:
    So are you saying that you want the HMD to have consistent absolute yaw without using the camera at all? That is impossible with existing technology. You need some sort of external reference to measure against. If not a camera then some other device or trackable marker in a fixed location that can give you position and bearing, like Valve's lighthouse. A compass would sort of maybe work but magnetic fields are hugely inconsistent indoors, to the point where you might be turned 90 degrees on one side of the room. This is part of why the camera is there in the first place.


    Thx for the tips. So the conclusion seems like that this is really still a challenge.