You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
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.
This is an intersection with a traffic signal in the center that acts in all four directions.
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.
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)
The text was updated successfully, but these errors were encountered: