的Andr​​oid / iOS版如何确定使用传感器的距离小的变化? [英] Android/ iOS how to determine small changes in distance using sensors?

查看:117
本文介绍了的Andr​​oid / iOS版如何确定使用传感器的距离小的变化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经做了一些研究,但我似乎无法找到一种方法来确定使用Android或iOS设备上的传感器小的距离(厘米和米)。
蓝牙出现太不精确和需要一个以上的设备,全球定位系统只能在较大变化的距离,并在旋转小的变化似乎使用加速计几乎不可能使

I have been doing a bit of research, but I cannot seem to find a way to determine small distances (centimeters and meters) using the sensors in Android or iOS devices. Bluetooth appears too inaccurate and require more than one device, GPS only works over larger variations in distance, and small variations in rotation seem to make using the accelerometer nearly impossible.

有没有,我不知道,让我做这种事的方法?我熟悉微积分,因此,使用积分的基础上在时间和速度的变化来确定距离/加速是不是我的问题,我只是不知道如何确定这些事情。

Is there a method that I am unaware of that would allow me to do such a thing? I am familiar with Calculus, so using Integrals to determine distance based on changes in time and velocity/ acceleration is not a problem for me, I just do not know how to determine those things.

感谢您。

推荐答案

有在这些设备没有传感器,它能够给你想要的精确度没有外部的帮助。

There's no sensor in these devices which is able to give you the desired accuracy without exterior help.

如果您的使用情况允许对位的外部设置的,这里有一些想法:

If your use case allows for a bit of external setup, here are some ideas:

您可以用相机和计算机视觉计算设备的移动。可以,例如,使用ARToolkit测量到固定在墙上的可视标签的距离。在近距离你可以使用这种技术pretty精度高(毫米)。

You could use the camera and computer vision to calculate device movement. You could, for example, use ARToolkit to measure the distance to a visual tag fixed to a wall. In close distances you can get pretty high accuracy (mm) using this technique.

另一个想法是测量距离成固体对象,就像一个壁,通过发射使用扬声器短的音频信号,并测量时间直到回声到达麦克风。这将是更多的研究项目,虽然。

Another idea would be to measure the distance to a solid object, like a wall, by emitting a short audio signal using the speaker and measure the time until the echo arrives at the microphone. This would be more of a research project, though.

这篇关于的Andr​​oid / iOS版如何确定使用传感器的距离小的变化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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