使用加速度计计算速度 [英] Using accelerometer to calculate speeds

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

问题描述

我一直在对我们试图解决的问题进行一些研究.我认为这是最好的方法,但请添加您的意见

I've been doing a bit of research on a problem we are trying to solve. I think this is the best approach but please add in your opinions

我们正在尝试计算现实世界驾驶场景中的反应时间,并希望使用手机作为数据收集设备.我们正在努力实现的是,驾驶员在遇到特定提示时会施加多大的加速,更重要的是减速.

We are trying to calculate reaction times in a real world driving scenario and would like to use a mobile phone as the data collection device. What we are trying to accomplish is how much acceleration and more importantly deceleration a driver exerts when exposed to certain prompts.

我发现这篇论文有很多有用的信息加速度计物理

I found this paper that has allot of useful information Accelerometer physics

问题是我们很可能没有从零开始的校准时间..但是假设驾驶员从0开始.我们将使用GPS定位来定位车辆,跟踪带有时间戳的位置数据我们应该计算提示发生的时间,然后使用带有时间戳的加速度计数据我们应该能够计算出他们对提示的反应.

The problem is that we most likely will not have a calibration time to start at zero.. however it is assumed that the driver is starting at 0. We will use GPS positioning to locate the vehicle, tracking the time stamped location data we should calculate the time when the prompt took place then using the time stamped accelerometer data we should be able to calculate their reaction to the prompt.

这是我找到的解决问题的最佳方法,但是我不确定加速度计数据是否会因为无法校准而变得无用,而且振动产生的噪音可能太大而无法使用数据……以前有没有人尝试过或使用过这些类型的方法?

This is the best way I have found to solve the problem however I'm not sure if the accelerometer data will be rendered useless because of not being able to calibrate it and also the noise seen from vibrations may be too great to use the data... Has anyone tried or used these types of methods before?

推荐答案

有趣的应用.

你错过了一个重要的点.您要么自己实现所谓的传感器融合,要么使用您所使用的平台上提供的传感器融合.Android 和 iPhone 都有.

You are missing an important point. You either have to implement the so-called sensor fusion yourself or use the sensor fusion provided on the platform you are using. Both Android and iPhone have one.

TYPE_LINEAR_ACCELERATION(Android、SensorManager)或 userAcceleration(iPhone)应该足够了.

The TYPE_LINEAR_ACCELERATION (Android, SensorManager) or userAcceleration (iPhone) should be sufficient for you.

对于链接的PDF,不要尝试集成加速,你会得到很差的结果.即使答案是关于位置的,速度也已经不准确了.我会尝试使用 GPS.

As for the linked PDF, don't try integrating the acceleration, you will get very poor results. Even though that answer is about position, the velocity will already be inaccurate. I would try the GPS instead.

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

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