Thanks for the clarification.
I will test this an check if I did something wrong the last time I tried this.
From: sumo-user <sumo-user-bounces@xxxxxxxxxxx> On Behalf Of
Jakob Erdmann
Sent: Friday, November 5, 2021 11:07 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] Switchable right-turn arrow on traffic lights
I'm not sure if there is still a misunderstanding. The signals are split in SUMO by default.
Whereas in reality, the rules for a movement may be controlled by multiple lights (which must be interpreted by the driver to derive the actual permissions), SUMO models the derived permissions for each connection directly.
let xy be the state of the real world lights for straight and right arrow (o is off), and let ab be the derived state for straight and right movements which must be put into the phase state attribute.
(note that SUMO uses 'G' for protected green and 'g' for permissive green)
Problem here is that both lights work “additional” so an “g” for straight also means “g” for the turning cars even if the arrow is yellow or switched off. If
The arrow is switched on green This would mean “G” regardless of the state for the straight cars.
I probably can split up the signal for the lane to have separate signals for each direction, as you suggested, an make the turning signal the result of both signals.
Thanks for the help
Per my understanding of the German StVO, the switchable arrow indicates a conflict free traversal of the indicated direction.
In your case, this should be modeled with 'G' state for the right turn (followed by a 'y' and 'r' state).
Since each turning movement can have it's own signal in SUMO there is no problem with having the straight traffic keep their 'r' state for the duration.
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
|