Forum Discussion
akFHeaven
10 years agoHonored Guest
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.
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
- owenwpExpert ProtegeAre 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.
- akFHeavenHonored Guest
"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. - owenwpExpert ProtegeThe 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.
- cyberealityGrand ChampionSo 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. - akFHeavenHonored Guest
"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. - akFHeavenHonored Guest
"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. - owenwpExpert ProtegeSo 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.
- akFHeavenHonored Guest
"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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 months ago