Android的指南针噪声算法 [英] Android compass noise algorithm

查看:230
本文介绍了Android的指南针噪声算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图筛选出的方向/方位传感器的噪声我的魔法手机。

I am trying to filter out the noise from the orientation/compass sensor in my magic phone.

有些读数似乎是90-180度关闭,有很多轻摇。我曾尝试与有限的成功不同的东西,所以我想知道是否有人能推荐一种算法来过滤这种噪音以获得稳定的输出。

Some of the readings seem to be 90-180 degrees off and there is a lot of jiggle. I have tried different things with limited success, so I was wondering if anyone could recommend an algorithm to filter this sort of noise to get a stable output.

BR,的Mads

推荐答案

您需要的低通滤波器。有解释和简单的算法在维基百科

You need Low Pass Filter. There are explanation and simple algorithm on wikipedia

这篇关于Android的指南针噪声算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆