Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

悦跑圈response里的content和stepcontent有没有办法进一步利用 #486

Open
twyc opened this issue Sep 10, 2023 · 8 comments
Open

Comments

@twyc
Copy link

twyc commented Sep 10, 2023

现在看起来是因为没有时间戳,所以只能得到平均速率。

我希望能得到像悦跑圈app一样的,能看到每一公里的配速和全程的步频变化的情况。

我猜测是悦跑圈的客户端和服务端约定了采样频率。尝试找到content转出的list length和时间长度的关系。但好像没啥关系。。

求救大佬有其他思路吗。。

@yihong0618
Copy link
Owner

理论可以。但是肯定不精确了,他们弄成数组我猜是为了画图,我们只好给平均分配在坐标点里,但是不准确

@yihong0618
Copy link
Owner

@twyc 应该就是没啥关系///////

@twyc
Copy link
Author

twyc commented Sep 10, 2023

好的 谢谢大佬~

想更精确地分析跑步数据的愿望惨死摇篮。。

@agassiyzh
Copy link
Collaborator

更精确的可以看看有没有fit格式的文件。fit数据回细致很多。

@twyc
Copy link
Author

twyc commented Sep 13, 2023

更精确的可以看看有没有fit格式的文件。fit数据回细致很多。

这个package里没看到有fit后缀的相关文件/代码。

我周末试试抓包

@yihong0618
Copy link
Owner

悦跑圈是没有 .fit 的

@Rayjry
Copy link
Contributor

Rayjry commented Jan 24, 2024

昨天看了一下,altitude / content / stepcontent 这三个采样是同步的,都是5秒一次
stepcontent里的两个内容,后一项是什么现在还没头绪, 但是前一项求和就是totalsteps,可以推测前一项就是每5秒内的steps,悦跑的采样准确度不知道,但是拿来算每个tranckpoint的大概的Cadence应该没问题。

@yihong0618
Copy link
Owner

昨天看了一下,altitude / content / stepcontent 这三个采样是同步的,都是5秒一次 stepcontent里的两个内容,后一项是什么现在还没头绪, 但是前一项求和就是totalsteps,可以推测前一项就是每5秒内的steps,悦跑的采样准确度不知道,但是拿来算每个tranckpoint的大概的Cadence应该没问题。

如果研究成功了 PR welcome 哈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants