可以从机器人的固定点在空间检测的距离(其中x,y和z坐标)? [英] Can detect the distance (with x, y and z coordinates) from a fixed point in space on Android?

查看:149
本文介绍了可以从机器人的固定点在空间检测的距离(其中x,y和z坐标)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想找到一个Android设备的位置相对于固定点的空间。 我需要一个precision接近一两米。 我的目标是确定机器人装置用户的位置的建筑物(博物馆)内部,以检测地板和房间她是在,以及 - 如果可能 - 即使更$ P在房间$ pcise位置(要知道这幅画,她是接近)。 我已经排除使用GPS,因为它不是这样precise(expecially相对于仰角),它只有可靠工作在户外,它会迅速消耗电池电力,并且它不快速返回的位置。 我也已经排除了使用网络位置提供商也一样,因为它是更加不准确。

I would like to find the position of an Android device with respect to a fixed point in space. I need a precision close to one or two meters. My goal is to determine the position of the android device user inside a building (a museum), to detect the floor and the room she is in, and - if possible - even a more precise position in the room (to know which painting she is close to). I did already excluded to use GPS, since it is not so precise (expecially with respect to elevation), it only reliably works outdoors, it quickly consumes battery power, and it doesn't return the location quickly. I did already excluded to use Network Location Provider too, since it is even less accurate.

推荐答案

在Android中,你可以使用三种方法检测的Andr​​oid手机的位置:

In Android you have three possibilities to detect the location of a Android phone:

1)GPS

2)网络

3)三角

但所有这三种可能性是适合你的问题。的GPS是最准确的,但如你已经注意到它不工作在建筑物,并且它将不能不同楼层之间进行区分。的问题是,全球定位系统的精度充其量3或4米。其他两个可能性是远远不够准确。这就是为什么没有对你的问题真正解决问题。

But none of these three possibilities is suited for you're problem. The GPS is the most accurate one, but as you already noticed it is not working in buildings, and it won't be able to differentiate between different floors. The problem is that the accuracy of GPS is at best 3 or 4 meters. The other two possibilities are far less accurate. That's why there isn't a real solution for your problem.

这可能是一种可能性的一件事是运动传感器。如果您知道用户开始的地方,您也许可以使用运动传感器来计算有多少米,用户移动。但我不认为这是不够准确的。

One thing that might be a possibility is the motion sensor. If you know where the user starts, you maybe can use the motion sensor to calculate how many meters the user moves. But I don't think that this is accurate enough.

这篇关于可以从机器人的固定点在空间检测的距离(其中x,y和z坐标)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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