Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Temporary traffic lights, Road closures, Roadworks.

The attribute "layout" is part of the latest development version and was not present in version 1.16. Most likely your SUMO_HOME variable points to a folder where version 1.16 or older is installed. See also: https://sumo.dlr.de/docs/FAQ.html#whats_the_deal_with_schema_resolution_warnings_xsd_errors

Am So., 23. Aug. 2020 um 16:42 Uhr schrieb Michael Steel <michael.joseph.steel@xxxxxxxxx>:
Good afternoon,

So an update, turns out I was missing the saving the traffic light program separately step but I now get an error message " Error: attribute 'layout' is not declared for element 'tlLogic' ".

Is this because it has to be done at net creation? I have for the most part been using the convert from OSM process and then editing in netedit or the generated xml files. 

Any help greatly received 

Thanks

Michael

On Wed, 19 Aug 2020 at 17:24, Michael Steel <michael.joseph.steel@xxxxxxxxx> wrote:
Hello!,

 That's excellent, it is indeed for a traffic light controlled section. I have been trying to implement this and I've come across an issue which may just be my inexperience again.
 When I go to my traffic light setup in netedit I right click and select view parameters where i can see where i would edit the parameters but it wont let me i just get the "you can't do that" windows noise. Am I looking in the wrong place?

Many thanks for your help so far 

Michael

On Fri, 14 Aug 2020 at 07:18, Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Hello,
if entry into the bidirectional section is controlled by a traffic light, you can use the new traffic light layout "alternateOneWay" (https://sumo.dlr.de/docs/Networks/PlainXML.html#tllayout). For this you need the latest development version (https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version)

Otherwise you need to use the opposite-direction model with a static obstacle (i.e. one long vehicle that is permanently parked) to block one direction for a given distance. See https://sumo.dlr.de/docs/Simulation/OppositeDirectionDriving.html

regards,
Jakob

Am Do., 13. Aug. 2020 um 13:09 Uhr schrieb Michael Steel <michael.joseph.steel@xxxxxxxxx>:
Good afternoon all,

I am an MSc student studying machine learning and I am attempting to use sumo as an input for testing real time traffic light systems for temporary traffic light situations like those at a set of road works.

I have been attempting to close one carriageway on a one lane east one lane west road but the only guidance I can find suggests using things such as bus stops to block it otherwise the traffic will just break as it cannot use the wrong side of the road.

Is this still the case, is there a "better way" to do this or is the bus stop method the only way.

I am otherwise really getting used to the program now and hope this section can be sorted so I can move forward

Thanks in advance

Michael Steel


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
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