Dive Board



OpenDiveSensor Script - Raw Data / Calibration for Drift

OpenDiveSensor Script - Raw Data / Calibration for Drift

by mikeh9 on Jul 16th, 2014 15:36 PM

I have not recieved my Dive yet, but I am trying like many others to eliminate the drift. I am using an Android S4. I have tried the calibration script but it does not work very well for what I am doing.

The function: get_q(ref q0,ref q1,ref q2,ref q3); returns the x,y,z,w coordinates of the estimated rotation which includes the error in the raw gyroscope reading.

Does anyone know how to get the raw Android sensor data into Unity, or maybe the source code for the libdivesensor.so library? I want to incorporate other sensor data to eliminate drift.

I am working on a 6 axis system that uses the Dive along with an accurate high speed positioning system to calculate not only the user's head position, but also the current x,y,z position of the user inside or outside of a building. This will enable you to put on the Dive and walk around to experience the virtual reality.

Michael

mikeh9

Posts: 2

Joined: 16.07.2014

dive-owner


Re: OpenDiveSensor Script - Raw Data / Calibration for Drift

by mikeh9 on Jul 16th, 2014 17:21 PM

Update:

In case anyone wants to solve the drift problem, I found a unity plugin called GyroDroid that works pretty good to eliminate the drift by using the internal compass.

Hopefully Stefan's next library update will fix the drift issue, but this is a work around for now.

Michael

mikeh9

Posts: 2

Joined: 16.07.2014

dive-owner


Re: OpenDiveSensor Script - Raw Data / Calibration for Drift

by RaveTZ on Aug 2nd, 2014 08:14 AM

"mikeh9" wrote:
Update:

In case anyone wants to solve the drift problem, I found a unity plugin called GyroDroid that works pretty good to eliminate the drift by using the internal compass.

Hopefully Stefan's next library update will fix the drift issue, but this is a work around for now.

Michael



Can you share your setup? I just got GyroDroid for this very reason yet the documentation seems to be nonexistent

RaveTZ

Posts: 1

Joined: 02.08.2014


STATISTICS


Total posts: 91404


Total topics: 10993


Total members: 39022


Newest member: Daniel G.