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

invalid right-of-way rules in left-hand network #4256

Closed
namdre opened this issue Jun 19, 2018 · 2 comments
Closed

invalid right-of-way rules in left-hand network #4256

namdre opened this issue Jun 19, 2018 · 2 comments

Comments

@namdre
Copy link
Contributor

namdre commented Jun 19, 2018

No description provided.

@namdre
Copy link
Contributor Author

namdre commented Jun 19, 2018

reproduce:
netgenerate --grid --grid.number 1 --grid.attach-length 100 -o net.net.xml --lefthand --no-turnarounds -j traffic_light

link 0 and 8 both yield for each other creating a deadlock

@namdre
Copy link
Contributor Author

namdre commented Jun 19, 2018

the function NBNode::tlsContConflict is called when writing the response string and thus has to consider lefthand-setting which it currently does not do.
The solution to pass a lefthand argument is somewhat ugly since lots of methods are called that also give lefthand-sensitive results. A better solution might be to compute and store the junction logic before mirroring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant