Schlaubischlump/LocationSimulator

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

Opened this issue · 4 comments

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.

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

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

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 ?

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.