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

Enhanced logic for IsTurnChannelManeuverCombinable #2952

Merged
merged 3 commits into from
Mar 19, 2021
Merged

Conversation

dgearhart
Copy link
Member

@dgearhart dgearhart commented Mar 18, 2021

Issue

Enhanced logic for IsTurnChannelManeuverCombinable by validating the turn channel is short (<=200m) and do not have an intersecting forward edge
Added RAD and gurka tests to verify

Example 1

image

< BEFORE
< 2: Turn left onto Nieuwe Mechelsesteenweg/N26. Continue on N26.
> AFTER
> 2: Bear right toward N26/Mechelen.
> 3: Turn left onto Nieuwe Mechelsesteenweg/N26. Continue on N26.

Example 2

image

< BEFORE
< 2: Turn right onto US 50/US 1 Alternate/New York Avenue Northeast.
> AFTER
> 2: Bear right toward New York Avenue.
> 3: Turn right onto US 50/US 1 Alternate/New York Avenue Northeast.

This improved 2% of user routes

Tasklist

  • Add tests
  • Add #fixes with the issue number that this PR addresses
  • Update the docs with any new request parameters or changes to behavior described
  • Update the changelog

Requirements / Relations

Link any requirements here. Other pull requests this PR is based on?

Added RAD and gurka tests to verify
@dgearhart dgearhart self-assigned this Mar 18, 2021
@dgearhart dgearhart marked this pull request as ready for review March 18, 2021 21:39
Copy link
Collaborator

@danpaz danpaz left a comment

Choose a reason for hiding this comment

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

Very nice gurka maps 🥒 . LGTM

@dgearhart dgearhart merged commit c01640c into master Mar 19, 2021
abhi2039 pushed a commit to abhi2039/valhalla that referenced this pull request Mar 30, 2021
…halla into pedestrian_crossing

* 'pedestrian_crossing' of https://github.com/abhi2039/valhalla:
  build: Bail with error if non-existant build-type specified (valhalla#2965)
  nit: Enables compiler warnings in part of mjolnir module (valhalla#2922)
  fix missing comma scripts/valhalla_build_config (valhalla#2963)
  Remove duplicate names being used across different gurka tests (valhalla#2962)
  Dont abort bidirectional a* search if only one direction is exhausted (valhalla#2936)
  penalize uturns at pencil points and short internal edges (valhalla#2944)
  Remove unused IsNextEdgeInternal function (valhalla#2958)
  restore compatibility with gcc 6.3.0, libprotobuf 3.0.0, boost v1.62.0 (valhalla#2953)
  Add ability to build Valhalla modules as STATIC libraries (valhalla#2957)
  Allow disabling Werror (valhalla#2937)
  Enhanced logic for IsTurnChannelManeuverCombinable (valhalla#2952)
  Allow config object to be passed-in to path algorithms (valhalla#2949)
  Floating-point precision fix in meili::Project() fixes map-match issue (valhalla#2946)
  Use kServiceRoad edges while reclassifying ferry connections (valhalla#2933)
  ci: Update cache key to trigger clearing it (valhalla#2947)
@dgearhart dgearhart deleted the missing_turn branch January 5, 2022 16:29
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

2 participants