Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] how to get the incoming edge with green/red light?

Hi all,

we can use traci or net tools to get the incoming edges of a junction, but how can we get those two edges with green/red light when running simulation? I want to reroute vehicles. My idea is to retrieve the two incoming edges with green light, and then reroute the first vehicle on those two edges. Does anyone have good ideas?

Best,
Hao

Back to the top