Skip to content

Conversation

@JThramer
Copy link
Contributor

@JThramer JThramer commented Dec 1, 2018

  • Speculatively fixing issue where, upon starting a new leg of a route, a situation can occur where the RouteController interpolates user-course incorrectly, causing it to think that an off-route event has occured.

/cc @mapbox/navigation-ios

@JThramer JThramer added the bug Something isn’t working label Dec 1, 2018
@JThramer JThramer self-assigned this Dec 1, 2018
Copy link
Contributor

@1ec5 1ec5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reasoning behind this fix is that none of the course-related calculations are reliable when first starting on a leg, especially a leg that follows an intermediate waypoint.

Per chat with @JThramer, a more long-term fix is to implement a variation of RouteLegProgress.nearbyCoordinates that includes nearby coordinates on nearby legs. But we want to try out this more tightly scoped change first.

Can you add a changelog entry to this effect?

  • Speculatively fixed spurious rerouting when passing an intermediate waypoint. (#1869)

Jerrad Thramer added 3 commits November 30, 2018 20:01
… a rare situation can occur where the RouteController interpolates user-course incorrectly, causing it to think that an off-route event has occured.
@akitchen akitchen force-pushed the jerrad/spec-heading-fix branch from 9f7ef5b to 2cb5c69 Compare December 1, 2018 04:02
@akitchen
Copy link
Contributor

akitchen commented Dec 1, 2018

Rebased with master / fixed up CHANGELOG.md organization

@akitchen akitchen merged commit 2cb5c69 into master Dec 1, 2018
@akitchen akitchen deleted the jerrad/spec-heading-fix branch December 1, 2018 05:04
@akitchen akitchen added this to the v0.26.0 milestone Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn’t working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants