Closed Zhongweizhao closed 4 years ago
That's a tricky problem. I haven't looked into this part of the source code for over a year 😅
If I fix this error then this will lead inevitably to greater jumps from one GPS location to the next. Which isn't nice, but it's the only way to achieve the correct speed.
Sadly the whole Wi-Fi connection does not work reliable in my experience. While I did not have any problems with the transfer speed, I have quite a few problems with random disconnects. I can not really change anything about this, because the whole Wi-Fi stuff is implemented in libusbmuxd and I think on macOS it relays on Apples implementation for the Wi-Fi connection stuff.
I updated the source code to hopefully calculate the distance correctly. It would be great if you could test the new version. ~I have not updated the release build yet, so you have to compile it yourself.~
You can download the new version from the Release page.
When I connected to the app through wifi, it takes a long time to set the location on my iPhone, probably due to the poor wifi connection. This is slowing down the movement speed, as the time duration between location updates is a fixed number while the actual time duration is far greater than the fixed time duration.
I would love to help improve this but I am also having some issues connecting to my iPhone via wifi. Sometimes it just connects automatically, sometimes it just doesn't connect at all.