Thank you for reply. I wanted to try to find solution on my own and it seems
I almost had it. I guess it was really trivial, but now my cars drive as
they should when I changed "junction" section a bit. I have to admit I have
almost no clue what I did though.
For this specific (problematic) junction I have these lines (I removed shape
numbers as I believe those are not important in my question):
</junction>
<junction id="-330" type="traffic_light" x="776.85" y="1228.87"
incLanes="--625_0 --517_0 --517_1 -621#1_0 -545_0 -545_1" intLanes=""
shape="XXX">
<request index="0" response="00000000110000" foes="00001000110000"/>
<request index="1" response="11110001110000" foes="11111001110000"/>
<request index="2" response="11100111110000" foes="11100111110000"/>
<request index="3" response="00000000000000" foes="10000100000000"/>
<request index="4" response="00000000000000" foes="10001100000111"/>
<request index="5" response="00000000000000" foes="10001100000111"/>
<request index="6" response="01110000000000" foes="01111100000110"/>
<request index="7" response="01100000000000" foes="01100000000100"/>
<request index="8" response="00000000000000" foes="11100001111100"/>
<request index="9" response="00000000000000" foes="11100001110011"/>
<request index="10" response="00000000000000"
foes="00000001000010"/>
<request index="11" response="00000000000000"
foes="00001111000110"/>
<request index="12" response="00000000000000"
foes="00001111000110"/>
<request index="13" response="00000000111000"
foes="00001100111110"/>
</junction>
What I did was to put all "zeros" in "8" and "9", and it magically worked. I
have to admit I have no idea how it works though I read this
"http://sourceforge.net/apps/mediawiki/sumo/index.php?title=Networks/SUMO_Ro
ad_Networks". So, this states that I have 14 different links, right? I don't
see them in picture I sent earlier. What I see is 10 possible links (from
0-9) - 6 straight and 4 to right. Where does index 10 - 13 come into "play"?
And for example, lets take index 9. As I see it, it corresponds to straight
link (to right) in my 2-lane street. If I put all "zeros" in "response" does
it mean that this link is top priority, a.k.a - cars going in this lane
don't care about nothing? If I would put, for example, 10000000000000, it
would mean that cars coming from "index 0" lane have higher priority? And I
don't understand that "foes" principle. Lastly, what would be the
consequences of misuse of response/foes thing? I mean, why can't I put
"zeros" everywhere since my junction is controlled by traffic light?
I hope these questions aren't too trivial. I just sadly don't understand how
request index is used (and made).
Sincerely,
Jhon
CitÄjot Jakob Erdmann [1]<[email protected]> :
Hello,
this looks strange indeed. Please send me the input files and state
the sumo version
(see
http://sumo-sim.org/wiki/FAQ#How_do_I_report_Erroneous_behavior_of_a_SUMO-
Application.3F)
regards,
Jakob
2013/10/24 <[email protected]>:
>
> Greetings!
> I attached a file - as you can see there is green lights. Cars coming
from
> right are driving as they are supposed to do, while cars from left are
just
> standing. They wait few phases and then are teleported, and then the
next
> pair of cars come to stop and continues to wait till are moved. The road
is
> free, but nothing happens. Can anyone give any hint what is the problem?
> Other junctions in network function well.
> Sincerely,
> Jhon
>
>
--------------------------------------------------------------------------
----
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
from
> the latest Intel processors and coprocessors. See abstracts and register
>
>
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktr
k
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
References
1. mailto:[email protected]
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user