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

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

Open
Shiftone opened this issue Aug 27, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@Shiftone
Copy link

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.

@Shiftone Shiftone added the enhancement New feature or request label Aug 27, 2023
@Schlaubischlump
Copy link
Owner

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

@Shiftone
Copy link
Author

Shiftone commented Sep 7, 2023

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
Copy link
Owner

Schlaubischlump commented Sep 7, 2023

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
Copy link
Author

Shiftone commented Sep 7, 2023

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.

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

No branches or pull requests

2 participants