finding speed of device movement

杀马特。学长 韩版系。学妹 提交于 2020-01-07 02:44:08

问题


I need to find velocity of a device(Samsung Galaxy s3). I've now read quite a lot of stackoverflow questions concerning it, but still confused as for what I should use. My observations so far:

1) Somebody did this to find velocity from accelerometer sensor's data. But in my case the device's movement will not have constant slope or straight trajectory.

2) Integration will give much drift.

3) Kalman filtering can be used but it's hard to implement and CPU consuming

4) Complementary filter can be used, but as far as I understand this only makes sense if accelerometer is being used with gyro to find angle. In my case I need to find velocity

5) Use GPS's getSpeed(). But I'm guessing it's only useful to detect large speed values, such as moving car, therefore isn't sensitive enough for my purpose.

Please suggest me somewhere to start from.

P.S. If you need to know what do I need speed of device for is I need to increase/decrease rendering rate according to the device's movement speed.

来源:https://stackoverflow.com/questions/15648767/finding-speed-of-device-movement

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