支持手动设置移动距离、添加 iOS 12.5 开发者镜像、移除 geopy 依赖#20
Open
Zhouua wants to merge 4 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
本 PR 包含三项改动:
geopy距离计算替换为内置 haversine 公式。config.yaml中新增目标跑步距离配置。具体改动
DeveloperDiskImage/12.5/DeveloperDiskImage.dmg和签名文件,方便 iOS 12.5.x 设备直接使用。tools/run.py改用内置 haversine 公式计算经纬度距离,移除geopy依赖。distance配置;设置为正数时,会在目标距离基础上额外多跑约 200m,并在跑完当前圈后恢复正常定位并结束进程。distance为0或未配置时,保持原来的无限循环行为。验证
本地验证路线解析、插值和距离计算正常:
