AnsweredAssumed Answered

LSM303D compass Calibration

Question asked by zhou.jianhua on Apr 22, 2015
LSM303D做指南针,发现在水平校准后,如果器件本身倾斜会对计算出的角度准确度产生较大影响。如何应用加速度传感器来补偿由于器件不水平带来的误差呢?网上有很多资料,说是用加速度传感器计算出pitch和roll,即俯仰角和横滚角,这两个角度与加速度值(Ax,Ay,Az)的函数解析式是什么呢?

Outcomes