Re: [sumo-user] How to dynamically arrange intersection priority

2016-01-21 Thread Jakob Erdmann
Hello, you would either have to monitor the lane by repeatedly getting the list of vehicle ids on it or you can add an induction loop at the end of the lane and retrieve the 'last step vehicle data' ( http://sumo.dlr.de/wiki/TraCI/Induction_Loop_Value_Retrieval#Response_to_.22last_step.27s_vehicle_

Re: [sumo-user] How to dynamically arrange intersection priority

2016-01-20 Thread Martin Li
Hi, I also want to get the timestamp when a vehicle finish a lane, I have checked on http://sumo.dlr.de/daily/pydoc/traci.vehicle.html for commands of printing out the final timestamp, but I have no luck of finding the right one. Do you have

Re: [sumo-user] How to dynamically arrange intersection priority

2016-01-18 Thread Jakob Erdmann
Hello, using TraCI you can override the intersection behavior of vehicles and thus allow them to ignore normal rules of traffic. (see http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State#speed_mode_.280xb3.29). You will then have to manage vehicle speeds yourself or collisions may occur. regards, Jak

[sumo-user] How to dynamically arrange intersection priority

2016-01-17 Thread Martin Li
Hi, I am experimenting SUMO for dynamically arrange traffic in intersections without traffic lights, according to vehicle speed and vehicle acceleration speed. So I want to over throw the pre-arranged intersection priority matrix and assign a dynamic one. Do you have any suggestion how should