Dive Board



DRIFT SOLVED (more or less)

DRIFT SOLVED (more or less)

by mptp on Aug 24th, 2014 18:45 PM

Hey guys.
I don't actually own a Dive, I'm a Rift + Cardboard guy myself, but I figured most people are using the OpenDive plugin, since every demo on the Play store seems to start with the Dive splashscreen, and succumbs to the Durovis Drift. :D
Anyway, I've made a temporary fix until whoever drinks the coffee at Durovis can implement some sensor-fusion to get a stable quaternion output*. It includes one extra line of code in the OpenDive.cs file, a modification of the DiveCamera prefab, and a calibration scene that could be loaded from the main menu of any game.
I'm not entirely sure how modifications of the OpenDive plugin sit with Durovis (I haven't used it on any apps in the playstore, just been fiddling around today), so I'm not going to upload the Unity Project until I can get the go-ahead.

But yeah, I get very good results with the calibration so far. Initially my phone will drift 1.5 degrees around the y axis every second. I get a big fat 0 degrees around the y axis every second after calibration. Shaking my phone around like crazy will usually introduce a couple of degrees, but for a fix that doesn't look at any additional sensors, I think it's not too bad!

But yeah - if someone from the Durovis team could let me know whether it would be ok to post this online for people to use or not, that would be great. I'd be totally willing to donate you the project file and let you implement it however you want if you'd prefer to do it that way. Just send me a private message with an email address to send the code to.

[size=85:1zw4ommh]* this is totally possible! Check it out Durovis people - https://bitbucket.org/apacha/sensor-fusion-demo. I get zero drift using their demo application. You should contact them. ;D[/size:1zw4ommh]

mptp

Posts: 6

Joined: 24.08.2014


Re: DRIFT SOLVED (more or less)

by pyratej on Aug 27th, 2014 06:08 AM

PLEEEZE share your fix.

This is absolutely killing me on iOS. No drift anywhere else but there. Tried Seperoth calibration script but it doesn't really help much at all.

pyratej

Posts: 12

Joined: 27.08.2014


Re: DRIFT SOLVED (more or less)

by mptp on Aug 27th, 2014 10:43 AM

Apparently Durovis are releasing their new, drift-free SDK as a beta today, so no need!
Looks like I was too late to be of any help to anyone but myself! :D

still, nice to know I had drift-free mobile VR before anyone else ;)

mptp

Posts: 6

Joined: 24.08.2014


Re: DRIFT SOLVED (more or less)

by pyratej on Aug 27th, 2014 15:13 PM

NICE! Good job anyhow mate. :mrgreen:

pyratej

Posts: 12

Joined: 27.08.2014


Re: DRIFT SOLVED (more or less)

by pyratej on Aug 27th, 2014 16:27 PM

Do i need to sign up for the beta? Not sure where to find it or when.

Thanks mate,
PyrateJ

pyratej

Posts: 12

Joined: 27.08.2014


Re: DRIFT SOLVED (more or less)

by futurgirl on Aug 28th, 2014 12:23 PM

From where do you have this information, that they would release the drift-free beta yesterday?

futurgirl

Posts: 14

Joined: 07.07.2014

dive-owner


Re: DRIFT SOLVED (more or less)

by Montaxx on Sep 1st, 2014 18:20 PM

bump.

Montaxx

Posts: 9

Joined: 26.08.2014


Re: DRIFT SOLVED (more or less)

by pyratej on Sep 1st, 2014 19:36 PM

Aye, it be here:
viewtopic.php?f=1&t=2859

pyratej

Posts: 12

Joined: 27.08.2014