Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
计算两点之间距离的最佳方法是什么/或者我们可以说一边走路一边计算使用加速度计行驶的距离?我的主要问题是我正在开发一个应用程序,在该应用程序中我需要使用两个位置计算距离,但有时核心位置无法更新位置,所以当时我如何计算行进距离?
您甚至无法从加速度计获得准确的速度测量值,因此您肯定无法获得行进距离的准确测量值。