relativty / Relativty

An open source VR headset with SteamVR supports for $200
https://www.relativty.com/
GNU General Public License v3.0
6.49k stars 342 forks source link

Headset drifts back towards calibration point after any movement. #75

Open dcbork opened 3 years ago

dcbork commented 3 years ago

I set everything up with an Arduino due cause I had one on hand, and the tracking seems okay except that it will drift back to where the headset was originally calibrated. For example, if I look left it will follow me left but as soon as I stop rotating it starts drifting back to the calibration point. It happens in all directions and is returning to the calibration position which makes me think that it is a code issue, but I am not sure if it was something I changed or something else. Any ideas?

wukie-wq commented 2 years ago

Hello, trying to compile the sketch I get the following error:

main:133:9: error: 'VectorFloat16' was not declared in this scope

 VectorFloat16 down;

 ^

main:134:28: error: 'down' was not declared in this scope

 mpu.dmpGetGravity(&down, &q);

                    ^

exit status 1 'VectorFloat16' was not declared in this scope

How can I correct it?

Thanks, regards