a-b-street / a-b-street/abstreet
Gridlock due to tiny roads
- 主要语言
- Rust
- 星标
- 8.2k
- 派生
- 380
- PR 合并指标
- 30 天内没有已合并 PR
描述
Not sure if this is a feature or a bug, but reporting here because the behavior seems unexpected, or at least undesired. Working in the sandbox with the South Seattle map.
Roads with medians, like 1st Ave S in downtown Seattle, can cause permanent backups. These are roads that are treated as two separate one-way streets that run parallel. These backups seem to result from the very closely-spaced intersections that occur with cross streets where there is only space for one car in the space between the intersections with the respective sides of the street.
Seems like there are two primary reasons (possibly more) why these persistent, unresolvable backups occur at these locations:
1) If the signals on the two sides of the road, i.e. the two one-way streets, are out of sync, there is capacity for only one car to move through the intersection per light cycle because of the one-car holding zone in the median intersection. Oh well, poor light timing is maybe one of the challenges of the game that the player needs to fix, so not necessarily a bug here. One car per cycle is better than no cars per cycle.
2) This seems to be a bigger issue, though: a long car can stick out from the median holding area to block a tiny portion of the main intersection, effectively shutting down that intersection. If one car sticks out from the median holding area after every light cycle, the intersection is effectively closed permanently. Seems like cars will never try to pass through an intersection if any portion of another car from a different light cycle is still in the intersection.
See attached screenshot. There is a car turning left from South Main St to go north on 1st Ave S. This car is in the small "holding area" in the median of 1st Ave S. The tail of this car sticks out a bit into the intersection of 1st Ave S heading south and S Main St. The two cars that are trying to go south on 1st Ave S through this intersection have been waiting more than an hour because there is a always a small section of a car sticking out into the intersection at the end of every light cycle, preventing them from going forwards. They're stuck forever, and that permanent backup eventually ripples out through the rest of the street grid.
So, maybe this is a feature and not a bug, but it's annoying. Likely also a known issue. A few possible ways to fix it:
1) From the dev standpoint, allow cars to go around partial blockages to traverse a partially-blocked intersection. That sounds like a complex can of worms, though. If you can solve that problem, you're most of the way to being the first AV billionaire.
2) Somehow enforce that every interstitial intersection space can accommodate at least one car. Not very elegant or in keeping with the idea of a realistic streetscape. Plus, big cars causing problems when trying to use small streets is a real issue on streets like 1st Ave S in Seattle, though I think most of the median spaces on 1st Ave S and other streets with similar configurations (Beacon Ave S, for example) can accommodate at least one car.
3) As a user, close all those tiny problematic between-intersection spaces. Close for construction or turn them into the world's most useless bike or bus lanes; anything to keep cars from trying to use them.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。