Hello,
in the gui, when you right click on a traffic light (the red and green
bars) you can select 'show phases' and the newly openend window will tell
you the name of the loaded traffic light program. If it is '0' then most
likely your custom program was not loaded.
You can use the latest svn revision which allows xml-validation to help you
error-check your input files .
You need to put this in the header of your add.xml file:
<additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="http://sumo-sim.org/xsd/additional_file.xsd";>

Regarding automated generation of phase durations, there is probably no
existing tool which fulfills your exact requirements. If you decide to
write your own, consider making it general enough to be usefull for other
people and sharing the code.

regards,
Jakob


2014-01-31 曾开 <[email protected]>:

> hi,all,
>     I generated a grid-like network which contains several traffic
> lights.When I use
>     sumo -c test.sumocfg -a test.add.xml(it has a new traffic cycle
> program with phase durations different from previous one)
>     But nothing happened(the output just like previous one).How can I
> tackle this program?BTW,I don't want to write phase durations one by one in
> test.net.xml file.Instead,I want to use an additional file to generate a
> new phase durations.
>     Thanks!
>
>
> Best regards,
> Kai Zeng
>
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to