accelerometers uses- smartphone

随声附和 提交于 2019-12-08 09:12:59

问题


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".


回答1:


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.

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



来源:https://stackoverflow.com/questions/7423578/accelerometers-uses-smartphone

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!