使用加速度传感器从3DVector获取速度 [英] Get velocity from 3DVector using accelerometer sensor

查看:300
本文介绍了使用加速度传感器从3DVector获取速度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在想,如果我可以计算出使用加速计传感器在手机的速度。我的意思是有人挥动手机一次,我可以测量速度或这是用来做这种力量......或任何其他哪位能告诉强大的挥杆是如何:D加速度计玩了一会儿(在VS和仿真器)后,我看到它的工作原理有点不同,我虽然。

I was wondering if I can calculate the velocity of the phone using accelerometer sensor. What I mean is someone swing the phone once and I can measure velocity or force which was used to do this... or any other which can tell how powerful swing was:D After playing with accelerometer for a while(in VS and emulator) I see it works a little different that I though.

是否有可能实现这样的事情?

Is it possible to achieve something like this?

推荐答案

否,暂时不准确。

虽然的我以前的答案这里是关于位置,同样适用于速度。令人惊讶的是,它是弄乱的准确性陀螺白噪声。

Although my previous answer here is about position, the same holds for velocity. Perhaps surprisingly, it is the gyro white noise that messes up the accuracy.

根据你想要做什么,你可能是用的 DTW

Depending on what you want to do, you might be better of with DTW.

整合线性加速度(加速度减去重力)应该工作了很短的时间间隔,特别是如果你不需要精确的结果。你还必须承担一些初始速度。

Integrating the linear acceleration (acceleration minus gravity) should work for very short time intervals, especially if you do not need accurate results. You also have to assume some initial velocity.

这篇关于使用加速度传感器从3DVector获取速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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