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

Increase snapped distance, don't use course if it is bad #551

Merged
merged 1 commit into from Aug 28, 2017

Conversation

bsudekum
Copy link
Contributor

We've noticed the user puck unsnapping from the route line in cases it should not be. Larger, wider roads can see this often. By increasing the max snapping distance, the user will be snapped more often. The downfall here is that when the user is actively leaving the route, the user will appear snapped to the route for a moment longer. In my testing, it looked fine.

This also moves to not use the user's course when we deem the course or speed invalid. In this case, we snap the users location and also use a calculated course.

@bsudekum
Copy link
Contributor Author

/cc @ericrwolfe @1ec5 @frederoni

@bsudekum bsudekum merged commit 546f5db into master Aug 28, 2017
@bsudekum bsudekum deleted the smaller-snapped-distance branch August 28, 2017 22:04
@ericrwolfe ericrwolfe modified the milestone: v0.7.0-5 Aug 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants