加速度计用途-智能手机 [英] accelerometers uses- smartphone

查看:98
本文介绍了加速度计用途-智能手机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

已知原始加速度计数据是线性加速度和重力的组合。为了隔离它们,需要应用适当的过滤器。我想了解实时应用程序,我们只需要重力或线性加速度即可。

It is known that the raw accelerometer data is combination of both linear acceleration and gravity. In order to isolate them w need to apply appropriate filters. I would like to know the real time applications where we would need only "gravity" or only "linear acceleration".

推荐答案

在尝试弄清楚手机的方向时会使用重力。换句话说,当您尝试弄清楚用户如何握住电话时。这对倾斜游戏非常有用,例如您使用手机驾驶汽车等。

Gravity is used when you are trying to figure out the orientation of the phone. In other words, when you are trying to figure out how the user holds the phone. It is good for tilt games, for example you use the phone to drive a car, etc.

当您试图弄清楚手机的性能时,会使用线性加速摇了摇。

Linear acceleration is used when you are trying to figure out how the phone is shaken. It good for shaking games.

我强烈建议此视频。特别是在4:15-6:10和从33:30凝视之间,您会看到演示。

I highly recommend this video. In particular, between 4:15-6:10 and staring from 33:30 you see demos.

这篇关于加速度计用途-智能手机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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