声明“位置已达到”的良好价值在地理坐标中
我写了一种行人导航系统。唯一的问题是,我需要一个标准来完成导航。
我的值以纬度/经度对的形式给出。
您认为两个位置相等/接近足以告诉用户他已经达到目标的话,什么是一个好的值?
另请记住,很难说“直接相等”,因为 GPS 模块可能存在差异......
来自欧洲的greetz,
poeschron
I've written a kind of navigation system for pedestrians. The only thing is, that I need a criterion to finish the navigation.
My values are gives as lat/long pairs.
What would you assume would be a good value to say, both positions are equal/near enough to tell the user that he has reached the goal?
Please keep also in mind, that it's idfficult to say "directly equal", because GPS modules may have variances...
greetz from europe,
poeschlorn
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您将距离与 0.0001(大约 10 米)进行比较,则应该进行设置。
要做到这一点
if you compare the distance to 0.0001 (Around 10 meters) you should be set.
To do this