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

question about traffic signal #6718

Closed
GitBenjamin opened this issue Oct 17, 2023 · 0 comments
Closed

question about traffic signal #6718

GitBenjamin opened this issue Oct 17, 2023 · 0 comments

Comments

@GitBenjamin
Copy link
Contributor

          Hi, @mjjbell, @SiarheiFedartsou. 

I did a lot of testing and found that most traffic signal problems can be solved, but there are some problems with one type of scenario. Like this one, osm_data.

  • Data

image
This is an intersection with a traffic signal in the center that acts in all four directions.

  • Process (about traffic signal)

According to this solution, I copy the traffic signal to the middle node of the four roads and add "traffic_signals:direction" info to traffic_signal node.

  • Route Test

When I get to route UnknownRoad to NewRoad, the duration is 13.5s, and when I get to route NewRoad to UnknownRoad, the duration is 33.5s, traffic signal penalty is 20s. The two schemes covered the same number of miles and traffic lights, but took different time.

So, I tweaked "traffic_signals:direction" a lot, but nothing worked out. I hope I can get your help.

Originally posted by @GitBenjamin in #6153 (comment)

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

1 participant