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

[not ready] Left hand driving #2670

Closed
wants to merge 4 commits into from
Closed

[not ready] Left hand driving #2670

wants to merge 4 commits into from

Conversation

lbud
Copy link
Member

@lbud lbud commented Jul 18, 2016

Starting toward #2269. Needs more tests 🚑
cc @oxidase

@@ -162,6 +162,8 @@ class BaseDataFacade

virtual bool GetContinueStraightDefault() const = 0;

virtual bool UseLeftSideDriving() const = 0;
Copy link
Member

Choose a reason for hiding this comment

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

MockDataFacade needs a dummy impl. for this, too. Otherwise unit tests won't compile.

Copy link
Member

Choose a reason for hiding this comment

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

(try with make tests)

Lauren Budorick and others added 3 commits July 19, 2016 10:30

When I route I should get
| waypoints | route | turns | lanes |
| a,h | ab,ch,ch | depart,roundabout-exit-5,arrive | ,slight right:false slight right:true, |
Copy link
Member

Choose a reason for hiding this comment

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

I think you forgot to change the expected lanes output here from slight right to slight left.
If you take a look at the way ab and dc above, they only have slight left lanes.

Counterclockwise vs clockwise does not change the turn lane's direction.
It only changes lane anticipation's behavior in keeping the user to the left/right.

Copy link
Contributor

@oxidase oxidase Jul 21, 2016

Choose a reason for hiding this comment

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

yes, here must be slight left, but the test fails because query returns an empty result, so i set todo state and kept the original expecation, because had no idea what should be be the expected result.

I will try to find out the reason during the next week. @MoKob showed me the starting place https://github.com/Project-OSRM/osrm-backend/blob/master/src/extractor/guidance/turn_lane_matcher.cpp#L54-L103

@MoKob
Copy link

MoKob commented Aug 10, 2016

Given #2707 is merged and marked as a duplicate of this, any reason to keep this one around?

@TheMarex
Copy link
Member

@MoKob nope forgot to close this one. 👍

@TheMarex TheMarex closed this Aug 10, 2016
@TheMarex TheMarex deleted the left_side_driving branch August 10, 2016 16:03
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.

5 participants