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

[Error] Line types dashed_solid and solid_dashed are swapped #50

Closed
dan-dan97 opened this issue Aug 28, 2019 · 2 comments
Closed

[Error] Line types dashed_solid and solid_dashed are swapped #50

dan-dan97 opened this issue Aug 28, 2019 · 2 comments

Comments

@dan-dan97
Copy link

dan-dan97 commented Aug 28, 2019

I've recognized that there is an error that dashed_solid and solid_dashed are swapped. For example lanelets that are separated with solid_dashed line have left relation AdjacentLeft and right relation Right.

@dan-dan97 dan-dan97 changed the title [Error] Line types dashed-solid and solid-dashed are swapped [Error] Line types dashed_solid and solid_dashed are swapped Aug 28, 2019
@poggenhans
Copy link
Contributor

Did you check the orientation of the linestring? The attribute is relative to the orientation of the linestring. If your lanelet looks like below, lanelet2 inverts the effect of the solid_dashed, meaning it is possible to do a lane change into the lanelet, but not out of it via its left bound.

<<<<<<<<<<<<< left: solid_dashed <<<<<<<<<<<

                  some lanelet

>>>>>>>>>>>>>>>>> right >>>>>>>>>>>>>>>>>>>>

@dan-dan97
Copy link
Author

Did you check the orientation of the linestring? The attribute is relative to the orientation of the linestring. If your lanelet looks like below, lanelet2 inverts the effect of the solid_dashed, meaning it is possible to do a lane change into the lanelet, but not out of it via its left bound.

<<<<<<<<<<<<< left: solid_dashed <<<<<<<<<<<

                  some lanelet

>>>>>>>>>>>>>>>>> right >>>>>>>>>>>>>>>>>>>>

Very simple solution! Thanks a lot! the problem was really in the direction of the left way.

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

No branches or pull requests

2 participants