a) in each step call traci.lane.getLastStepVehicleIDs and count ids that are different from the previous step b) in each step call traci.simulation.getDepartedIDList , followed by vehicle.getLaneID for the returned vehicle ids and count the occurrence of your lane c) define a detector and retrieve it's data. traci.multientryexit supports aggregated data retrieval, the others only last-step-data retrieval.
Am Mi., 24. Nov. 2021 um 09:22 Uhr schrieb Hervé Diedie < [email protected]>: > How can I get the current vehicle insertion rate of a lane from TraCI > if vehicles are automatically loaded by sumo from a .ro.xml via repeated > vehicle > emissions ? > > best regards. > _______________________________________________ > sumo-user mailing list > [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
