Hi,
I'm using TraCI's python API to control my SUMO simulation
and need to close off (for all vehicle types) a given Lane, *L*, for some
period of time, *D*.

traci.lane.setDisallowed()

Seems to be the only solution to close the lane off, however it requires me
to specify a list of all vehicle classes I want to disallow (and unlike the
setAllowed command doesn't assume that empty arguments means all vehicles).

(1) I don't know what this list needs to be so it disallows all  vehicles,
if someone could provide that, it would be much appreciated.

(2) In terms of re-allowing the Lane after time D, I am currently using a
datastructure in the python script and doing the time keeping manually, is
there a better way to do this via TraCI?

Regards,
Jordan McConnon

-- 
__

Séanadh Ríomhphoist/_

Email Disclaimer__
**

Tá an ríomhphost seo agus 
aon chomhad a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus 
sin amháin é. Is féidir tuilleadh a léamh anseo. 
<https://www.dcu.ie/iss/seanadh-riomhphoist.shtml>  
<https://www4.dcu.ie/iss/seanadh-riomhphoist.shtml>*
_

This e-mail and any 
files transmitted with it are confidential and are intended solely for use 
by the addressee. Read more here. 
<https://www.dcu.ie/iss/email-disclaimer.shtml> _
*_
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to