Schlaubischlump / LocationSimulator

MacOS application to spoof / fake / mock your iOS / iPadOS or iPhoneSimulator device location. WatchOS and TvOS are partially supported.
https://schlaubischlump.github.io/LocationSimulator/
GNU General Public License v3.0
2.53k stars 196 forks source link

[Feature] Navigate GPX route then navigate to start of same GPX route and start it again - effectively looping a course #181

Open Shiftone opened 1 year ago

Shiftone commented 1 year ago

I know this feature has been requested before but again, it would be really useful for debugging in our app.

The ideal functionality would take a GPX route, navigate to the final point, then use Location Simulators "navigate to start" to take the simulated location back to the 1st point on the GPX file and start it again, looping until told to stop.

Schlaubischlump commented 1 year ago

Isn't this behavior implemented using the autoreverse toolbar item or am I misunderstanding the feature request ?

Shiftone commented 1 year ago

Isn't this behavior implemented using the autoreverse toolbar item or am I misunderstanding the feature request ?

Imagine a U shaped course with points A B C and D - current auto reverse would navigate from A to B to C to D to C to B to A and stop.

Ideally the loop would navigate from A to B to C to D - use map logic to navigate back to A then start all over again - continuously until told to stop. This would turn that U shaped course into a square box shaped course in this example. Hopefully the formatting bellow doesn't break and you can see what I mean.

A      D
|      |
B______C

A <---- D
|       |
B_______C
Schlaubischlump commented 1 year ago

Thank you for the detailed explanation. That definitely cleared up my understanding.

The route from D to A, that MapKit will calculate is probably the same it calculated from A to D. So this would only make sense if you navigated from A to D using a gpx file I assume ?

Shiftone commented 1 year ago

Thank you for the detailed explanation. That definitely cleared up my understanding.

The route from D to A, that MapKit will calculate is probably the same it calculated from A to D. So this would only make sense if you navigated from A to D using a gpx file I assume ?

Yeah that's the idea - essentially get to the end of the GPX route - navigate back to the start of the GPX route and follow it again continuously until stopped. This essentially allows us to create a circuit around a park that follows a specific course.