Traffic lights only support output regarding to their switching operations
https://sumo.dlr.de/docs/Simulation/Output/Traffic_Lights.html
However, you can couple an e2detector so it's output intervals are
synchronized with an traffic light cycle:
https://sumo.dlr.de/docs/Simulation/Output/Traffic_Lights.html#coupled_lane_area_detectors
Also, you can generate e2 / e3 detectors to cover the approaches to a
traffic light:
https://sumo.dlr.de/docs/Simulation/Output/index.html#values_for_junctions


Am Do., 9. Dez. 2021 um 05:17 Uhr schrieb Starlight Charlotte <
[email protected]>:

> I’m sorry, I’m not sure what you meant by NEMA type Controller, what I was
> the output of a xml file similar to the e2 detectors like this one
>
>
>
> But for traffic lights in xml format.
>
>
>
> Thank You in Advance.
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows
>
>
>
> *From: *Qichao Wang <[email protected]>
> *Sent: *Thursday, December 9, 2021 8:19 AM
> *To: *Sumo project User discussions <[email protected]>
> *Subject: *Re: [sumo-user] How to output a xml file from a Traffic Light?
>
>
>
> If you are using NEMA type of controller, you should be able to output the
> signal light state history by setting whetherOutputState parameter to
> “true”. If you need the record to be at every 0.1 sec frequency, just set
> the simulation resolution to be 0.1 sec by using the --step-length <TIME>
> option.
>
>
>
> Thanks,
>
> Qichao
>
>
>
>
>
> On Wed, Dec 8, 2021 at 5:10 PM Nao Tomori <[email protected]>
> wrote:
>
> I would like to follow up on my question
>
> Is there a way to output traffic lights in xml format?
>
>
>
> On Wed, Dec 8, 2021, 10:58 AM Starlight Charlotte <
> [email protected]> wrote:
>
> Dear Users,
>
>
>
> I’d like to know how to create an output a traffic light’s data to a xml
> file similar to e2 detectors like this one
>
> With the freq of 10
>
>
>
>
>
> Thank you very much in advance, and God Bless
>
>
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows
>
>
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
> Virus-free. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to