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

Signal Configs #21

Open
demetere opened this issue Sep 19, 2023 · 1 comment
Open

Signal Configs #21

demetere opened this issue Sep 19, 2023 · 1 comment

Comments

@demetere
Copy link

demetere commented Sep 19, 2023

Hello everyone, I've noticed that creating signal configurations has been a bit tricky for me. I've tried to figure it out, even by looking at different closed issue and documentation in repo, but I'm still struggling.

Sometimes, I can't quite grasp the concept of phase_pairs. For instance, when I look at ingolstadt1.xml and the pair N-N, it seems like I can't find that specific pair in there. I'm also unsure why we use pairs and how we decide how many of them to use. To be honest, I'm pretty confused about these signal configurations.

I'd really appreciate it if someone could explain how this all works. If there are any images or visual aids available, that would be great, but even a simple explanation would help. Thanks a lot for your help and patience.

UPDATE:

I believe I've grasped the meaning behind 'N-N' now. I followed the example of cologne1 and examined the lane_sets. Now, let's take the example of S-W, Essentially, it means that the traffic is coming from the north but moving in the directions of south and west. Similarly, N-N implies that traffic is coming from the south and heading north. Have I understood this correctly?

If I understand correctly, phase_pairs represent the number of traffic light phases we have, right? Does this mean that we can only activate two lanes per phase? Is that the idea?

@Kunal-Kumar-Sahoo
Copy link

Hii could you explain it to me? How can I create a signal configuration for a custom map?

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