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

Revert user puck dead reckoning #1710

Merged
merged 2 commits into from
Sep 17, 2018
Merged

Revert user puck dead reckoning #1710

merged 2 commits into from
Sep 17, 2018

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Sep 17, 2018

This reverts commit #1385, which resulted in the puck overshooting at turns and detaching from the route line along curved roads. In some cases, it may have exacerbated other issues with course tracking.

When we revisit this feature in the future, we’ll need to ensure that dead reckoning is only part of the solution: the result of dead reckoning needs to be snapped to the route line. That wasn’t happening before, so this feature tended to foil any attempt at snapping the user’s location to the route line, at least visually. As well, we’ll need to find an alternative to CLLocation.speed, which is an instantaneous reading that is documented to be unsuitable for dead reckoning.

/cc @mapbox/navigation-ios

@1ec5 1ec5 added bug Something isn’t working topic: location labels Sep 17, 2018
@1ec5 1ec5 added this to the v0.21.0 milestone Sep 17, 2018
@1ec5 1ec5 self-assigned this Sep 17, 2018
@frederoni
Copy link
Contributor

Looks a lot better. Simulating at 9× is still suboptimal but this is an improvement.

@1ec5 1ec5 merged commit c55c13b into master Sep 17, 2018
@1ec5 1ec5 deleted the 1ec5-puck-undead-reckon-30 branch September 17, 2018 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn’t working topic: location
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants