Google 通过自由落体检测适应

Google fit through free fall detection

我是 google fit API 的新手,我想知道 google fit 中是否有任何 API 可以通过我们在没有设备的情况下检测自由落体运动,如摇晃、旋转和移动?

现在googlefit不支持像apple health kit这样的自由落体检测,需要搭配传感器

我正在分享我应对这一挑战的方法和发现。

步骤 1) 什么是自由落体以及如何使用算法求解 https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0037062 https://patents.google.com/patent/US8217795B2/en

第 2 步)健康包 vs google 适合 健康套件具有自由落体检测选项 https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifier/1615592-numberoftimesfallen google 适合: https://developers.google.com/fit/android/data-types 对于 google fit 没有自由落体的数据类型,根据下面的文章并花费一些动手编程我没有找到跌落检测的方法 https://www.trustedreviews.com/opinion/what-is-google-fit-2923688

行 "Before you even look at third party app compatibility, Apple Health already has more data categories than Google Fit, including blood type, sleep pattern, and how many times you’ve fallen over – if you’re prone to falls."