-
Notifications
You must be signed in to change notification settings - Fork 28
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
Snapping/step advance bugs #355
Comments
Thanks for capturing this! Trimming the search
I initially thought in should be ±n, but on second thought, I think you're right (or we should limit the backward search to a smaller number). I guess the use case for snapping is primarily with cars, which can't easily reverse like a pedestrian, cyclist, etc., so this is probably a reasonable way to approach it. After a second coffee, I think we need to consider the edge cases around a significant delay in GPS updates. The easiest example is a tunnel, where you may be skipping dozens or even a hundred points at a time (without forward progress simulation; separate topic :D). So there needs to be either selective activation or some fallback behavior. Two ideas:
Map matchingI think this is what everyone ends up with long-term 😅 We have a path to doing this with |
#387 solves a good bit of this for the current ferrostar implementation (not the the fancy map matching). Expectation is we'll still need some out and back optimization and a final dynamic step advance system that blends them all together. |
Location snapping currently has issues when a route overlaps itself (e.g an offramp cloverleaf or out and back route). When this occurs, the snapped location can jump forward. Not sure if it causes an issue with the actual route progress, but since location pushes progress events, seems likely.
Ideas
The text was updated successfully, but these errors were encountered: