-
Notifications
You must be signed in to change notification settings - Fork 319
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
Enable snapping to closure for the origin of the re-route by default #5664
Comments
cc @mskurydin |
Yes, this is exactly the param we'd want to use for the first waypoint of the route. |
@mskurydin For devices with precached tiles prior to a closure, I'm assuming nav-native will happily match to them. But do the nav-native tiles contain closures, and if so will enhanced location avoid closures? @LukasPaczos with respect to For example even in: Lines 82 to 96 in 12361fa
We accept a I suppose we could add an extension function that does accept a LocationProvider for the origin waypoint, and also sets this (and possibly other Directions API parameters that may help in the case that we're assuming LocatonProvider will know that we're on a road). |
Circling back to this ticket, @browndp08 @stari4ek should Nav SDKs default to including the origin of the route in
We don't for the initial route request, we do for reroutes though, and we have a utility on the way that would pick the current vehicle's location automatically also for initial requests - #5427. |
Capturing from the team discussion, renaming the ticket to track the change to our re-route controller to apply |
There are situations where a user can intentionally turn into, or start a route from an edge that is marked a
closed
. In these situations, the router would continuously try to reroute the user until they leave the closed edge.However, we could trust or map-matcher more and always allow for snapping to closures for the origin of the route which would prevent continuous reroutes and only attempt to drives us out of the closer as soon as possible.
cc @dudeuter
The text was updated successfully, but these errors were encountered: