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

Red timed traffic light doesn't stop trams coming from tram track #1684

Open
ToddDTaft opened this issue Nov 10, 2022 · 3 comments
Open

Red timed traffic light doesn't stop trams coming from tram track #1684

ToddDTaft opened this issue Nov 10, 2022 · 3 comments
Labels
awaiting feedback More information required BUG Defect detected

Comments

@ToddDTaft
Copy link

Describe the problem

I've set-up a timed traffic light on an intersection where trams can enter the intersection on a "Tram Track" (Vanilla Snowfall asset). Even when the light for these trams is red, they will enter the intersection.

Note that the "Tram Track" is a somewhat unusual asset in that it only permits trams to travel on it, but it can have normal (and functional) intersections with most regular road types.

The problem may be that the traffic light presented to this road appears to be a road vehicle light and not a tram vehicle light.

The intersection where I'm seeing this issue is a 4-way intersection with perpendicular roads. (All 90 degree angles).
The road types at this intersection are (in clockwise order):

  1. Six lane road with 2 dedicated tram lanes (3 lanes of road traffic in each direction and 1 additional lane of tram-only traffic in each direction in the middle) (4u)
  2. Two-lane road (no tram tracks) (2u)
  3. Four lane road with 2 dedicated tram lanes (2 lanes of road traffic in each direction and 1 additional lane of tram-only traffic in each direction in the middle) (4u)
  4. Tram track (2 lanes of tram tracks - one lane in each direction. No road vehicles permitted by asset type.) (2u)

Trams arriving from road 4 will enter the intersection even when their light is red.
Roads 1 and 3 have two sets of traffic lights each - one set has a tram icon by it and affects only tram traffic and the other one affects only road traffic (car/truck/etc.)
Roads 2 and 4 have only one set of traffic lights each and neither one has a tram icon by it.

Junction restrictions on this intersection have all options disabled for all roads. (no turn on red, no enter blocked junction, etc.)

Screenshots?

https://steamcommunity.com/sharedfiles/filedetails/?id=2886736021

@ToddDTaft ToddDTaft added BUG Defect detected triage Awaiting issue categorisation labels Nov 10, 2022
@krzychu124
Copy link
Member

Hello, I'm not sure if you posted wrong screenshot but.. I don't see anything weird there. The trick is to start Timed Traffic lights program using that Start button below steps. Since it says Start it means that Timed Traffic Simulation is not working (yet) 😉

@ToddDTaft
Copy link
Author

ToddDTaft commented Nov 13, 2022

I posted the wrong picture. The intersection pictured was the one that was described in the text and where I experienced the bug, but you're correct that I didn't actually have the schedule running at the time the screenshot was taken. The problematic behavior still occurs when the schedule has been started.

@ToddDTaft ToddDTaft reopened this Nov 13, 2022
@kianzarrin
Copy link
Collaborator

it works for me. are you sure segments are not too small? maybe use broken node detector?

@krzychu124 krzychu124 added awaiting feedback More information required and removed triage Awaiting issue categorisation labels Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting feedback More information required BUG Defect detected
Projects
None yet
Development

No branches or pull requests

3 participants