CardboardSDK-iOS icon indicating copy to clipboard operation
CardboardSDK-iOS copied to clipboard

Headtracker glitching on iPhone 6

Open ejoebstl opened this issue 8 years ago • 2 comments

On iPhone 6, the headtracker occasionally "jumps" between different positions. The problem seems to be related to core motion (it does not happen in pure EKF mode). If the "jump" occurs for a rotation around the vertical axis, it also occurs for the "opposite" rotation, e.g. 180° across.

The glitch could not be observed on iPhone 5 or 5s.

Any ideas or hints for tracking that one down?

ejoebstl avatar Oct 31 '15 21:10 ejoebstl

Hmm, that's weird. I did pretty extensive testing on an iPhone 6 back when I originally released this and I didn't experience the issue.

The CoreMotion mode directly uses the _motionManager.deviceMotion.attitude.rotationMatrix, matrix, which should be correct if there are no bugs within iOS. A possible cause could be CMDeviceMotion getting into a funny state on some circumstances.

Do you have a specific way of reproducing this? Does it happen again after rebooting the phone? On which iOS versions have you tried?

rsanchezsaez avatar Nov 19 '15 17:11 rsanchezsaez

Thanks for getting back! It happens even after restarting the device. The iOS version is 9.0.

I'll try to isolate the cause or find out how to reproduce. Are there any special signs I should look for?

ejoebstl avatar Nov 19 '15 19:11 ejoebstl