Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Issue with Changing Traffic Light Type from 'Static' to 'NEMA' in SUMO NetEdit

1. The current code that defines NEMA controllers only handles common 3-arm and 4-arm intersections. The plain junction is "special" because the side roads don't have straight movements and the complicated junction is also beyond what this algorithm was meant to do.  Currently, the only work-around is to specify the states and respective NEMA attributes for such intersections manually as described in https://sumo.dlr.de/docs/Simulation/NEMA.html and then load that program from an additional xml file into the simulation.

2. This threshold was chosen as the exact middle betwene 90 and 180 degrees for discriminating between "straight" and "intersecting" roads.  (two straight roads may have a common phase whereas two intersecting  roads should not).

regards,
Jakob

Am Mi., 5. Feb. 2025 um 13:44 Uhr schrieb Karagounis Vassileios via sumo-user <sumo-user@xxxxxxxxxxx>:

Dear all,

 

While changing the traffic light type from 'static' to 'NEMA' in SUMO NetEdit, the process did not complete successfully. 
Instead, the program saved the type as 'Actuated' as a fallback, rather than 'NEMA'.

 

The warning message we encountered states:
"Generating NEMA phases is not supported for traffic light 'tls' with 8 incoming edges. Using tlType 'actuated' as fallback."

 

Additionally, upon reviewing the C++ code, we noticed that in the process of grouping opposite edges, a value of 135 degrees is used. 
This occurs in the file "NBOwnTLDef.cpp", at line 400. Could you clarify the reason for using this specific value?

 

For reference, I have attached two .net files that may be useful for troubleshooting.

 

Thank you for your assistance.



Με φιλικούς χαιρετισμούς / Kind Regards

Vasilios Karagounis
Software Engineer
Center for Research and Technology Hellas (CERTH)
Hellenic Institute of Transport (HIT)

CONFIDENTIALITY NOTICE: The information in this  email and any attachments thereto are confidential, except where the  e-mail specifically states that its contents can be disclosed, and is  intended solely for the use of its intended recipient(s). It may also be  subject to legal privilege or otherwise protected from disclosure. If  you are not the intended recipient of this communication, you are hereby  notified that any disclosure, copying, distribution, or use of the  information contained in or attached to this e-mail is strictly  prohibited. Please refrain from disclosing its contents to any third  party, but notify the sender immediately and make sure to delete and  permanently destroy the e-mail (including any attachments thereto) from  your filing systems. Internet communications are not secure and  therefore sender/CERTH does not accept any liability for the contents of  this message and for any damage whatsoever that may be caused by  viruses.

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top