Compass give me crazy data, is calibration needed or it's the sensor broken?

后端 未结 6 409
时光说笑
时光说笑 2020-12-18 23:23

I\'m working with android sensor data. My application use

SensorManager.getRotationMatrixFromVector(
            mRotationMatrix , event.values);

6条回答
  •  执笔经年
    2020-12-19 00:04

    If your application work on another tablet and other compass application do not work on your device, this is probably due to a bad calibration.

    As said in the post above, to make the calibration, wave your device in a figure of 8. I just want to add that you should do it for EACH axis. This should fix your problem.

提交回复
热议问题