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

Prohibitions shown in Netedit differ from .net.xml response matrix #4637

Closed
m-kro opened this issue Sep 24, 2018 · 3 comments
Closed

Prohibitions shown in Netedit differ from .net.xml response matrix #4637

m-kro opened this issue Sep 24, 2018 · 3 comments
Assignees

Comments

@m-kro
Copy link
Contributor

m-kro commented Sep 24, 2018

In the prohibition frame, Netedit shows some connections as prioritary over others which instead have a mutual conflict with others in the network file. The Netedit prohibition frame already checks for mutual conflicts but does not match this case for some reason.

Top approach (index 0 to 2):

  • should have right of way over opposed left turn (index 5) as shown in Netedit
  • matrix in the network file shows a mutual conflict (line for index 0): 1100100000

Tostmannplatz_Yield.net.xml.zip

@namdre namdre self-assigned this Sep 24, 2018
@namdre
Copy link
Contributor

namdre commented Sep 24, 2018

possibly related the issue mentioned in the last comment of #3850
The solution is outlined in #4256

@m-kro
Copy link
Contributor Author

m-kro commented Sep 26, 2018

After inspecting NBRequest, the example case seems to result from the way prohibitions are stored (edge-based instead of lane-based as suggested in the .net.xml matrix).

@namdre
Copy link
Contributor

namdre commented Sep 28, 2018

@m-kro Yes. This is also mentioned in the last comment of #3850. Some of the response and foe bits are only computed at the time of writing and are not stored in myForbids. The outlined solution in #4256 is to cache the computed bits for all lane-to-lane relationships (and then to use these bits in prohibition-mode).

In the example network, the mutual conflict is an artefact of the the invalid signal plan. The left turning vehicles must obviously yield to the straight-going traffic in their common phase but the reverse is not true.
In some situations, vehicles that are stuck on the intersection after their phase ends must get priority by other streams that would otherwise have right of way and this gives rise to mutual response bits. Due the peculiar signal plan in the example network, this type of situation is detected and thus the mutual response bits are set.

@namdre namdre closed this as completed in 49b7325 Oct 1, 2018
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

2 participants