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

More stop impact changes #2282

Merged
merged 12 commits into from
Mar 20, 2020
Merged

More stop impact changes #2282

merged 12 commits into from
Mar 20, 2020

Conversation

gknisely
Copy link
Member

@gknisely gknisely commented Mar 19, 2020

Issue

Add to the stop impact when transitioning from higher to lower class road and we are not on a TC
or ramp. Also, penalize lefts when driving on the right and vice versa.

Tasklist

  • Generally use squash merge to rebase and clean comments before merging
  • Update the changelog

Requirements / Relations

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

Results

Example 1: jughandle_routes # 13 - Before

image

Example 1: jughandle_routes # 13 - After

image

Example 2: Before

image

Example 2: After

image

Example 3: Using unmaintained track roads - Before
image

Example 3: Avoiding unmaintained track roads - After
image

Example 4: U-turn - Before
image

Example 4: Avoids u-turn - After
image

Example 5: Complex starting route - Before
image

Example 5: Less complex staring route - After
image

@gknisely gknisely requested a review from dgearhart March 19, 2020 21:57
Copy link
Member

@dgearhart dgearhart left a comment

Choose a reason for hiding this comment

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

This is all about the testing - i think you said there weren't any negative impacts - if so :shipit:

@dnesbitt61
Copy link
Member

My only comment is that typically the right vs left driving side is handled in the Costing classes by having different cost penalties based on the turn type. Seems like this is adding this consideration also during data creation which in my opinion complicates things.

@gknisely gknisely merged commit 316bf03 into master Mar 20, 2020
yuzheyan added a commit that referenced this pull request Mar 23, 2020
…into interpolation_bug_fix

* 'interpolation_bug_fix' of github.com:valhalla/valhalla:
  Update intersection classes in osrm response to not label all ramps as motorway (#2279)
  More stop impact changes (#2282)
yuzheyan added a commit that referenced this pull request Mar 25, 2020
* master:
  additional data processing options  (#2285)
  Fix Uturn cases on not_thru edge connected to origin. (#2272)
  Interpolation bug fix (#2275)
  Update intersection classes in osrm response to not label all ramps as motorway (#2279)
  More stop impact changes (#2282)
  Fixed verbal multi-cue logic (#2270)
  Re-write test/astar.cc to use gurka graph creation helpers rather than hard-coding edge creation/IDs
  Add gurka test framework to ease creation of test cases with ascii-maps
  Add helper functions so that we can perform actions without serializing if desired - this is to support testing of intermediate results.
  Make protobuf cleanup after tile building optional (on by default) so that tests can repeatedly call mjolnir::build_tile_set
  Downgrade some log messages to warnings - they are non-fatal behaviours, no error is actually emitted by the code.
  Reduce concurrency of lint debug build so that it doesn't hit OOM problems on CI
  Exact Reachability (ie v3) (#2243)
@gknisely gknisely deleted the more_stop_impact_changes branch October 21, 2020 14:26
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