Closed l33tlinuxh4x0r closed 3 years ago
Slightly cleaner just to remove the negative sign from the -0.125f constant, but that's just a nitpick. An actual problem is that the accelerometer reading also needs to negation on the X axis removed, otherwise the fusion will always try and apply gravity correction in the wrong direction.
agreed... that is more elegant.
I made the simpler change, plus accelerometer change directly in my branch. Let me know if it does/doesn't work for you now
It is working as expected. Thanks for the fixes... now if only we can get the controllers to work.
I did notice that when I calibrated the room the headset is always in/on the floor no matter how I move. Other head tracking appears to be working though.
Fixes vertical sensor calibration for looking up and down.