Thanks for the quick response, I will try the same.


Internal
From: sumo-user <[email protected]> on behalf of Jakob Erdmann 
<[email protected]>
Date: Wednesday, July 5, 2023 at 10:42 PM
To: Sumo project User discussions <[email protected]>
Subject: [From: External] Re: [sumo-user] Close the part of the lane for 
construction
CAUTION: This email originated from outside the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.

The easiest way is to close a complete lane using traci.lane.setAllowed(laneID, 
"authority") and re-open it later with traci.lane.setAllowed(laneID, "all") (or 
whatever the prior permissions used to be).
For closing only a part, the recommended way is to place a stopped vehicle 
(traci.vehicle.add, traci.vehicle.setStop, later remove it with 
traci.vehicle.remove).

Am Do., 6. Juli 2023 um 01:06 Uhr schrieb Desai, Rohit (VWoA-ECC) 
<[email protected]<mailto:[email protected]>>:
Hi SumoUsers,

I am new to the sumo, still learning most of the things.
I would like to know what’s is the way to close a part of the lane for 
construction or accident scenario ?
When I read across couple of old posts people had created a ghost vehicle in in 
the simulation, is this is how it is achieved ?
How can I do the lane closer(part of the lane) through TraCI and open back 
after some time ?
Any thoughts will be greatly appreciated.

Thanks,
Rohit


Internal
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[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