Thanks for all these methods ...But how can we solve this problem using TraCI ?
Le sam. 16 juil. 2022 à 19:12, Jakob Erdmann <[email protected]> a écrit : > 1) > --vehroute-output vehroutes.xml --vehroute-output.exit-times > by comparing exit times of subsequent edges, you can compute the travel > time on each edge. > By comparing this to ideal travel times you get the time loss which is > closely correlated with waiting time > > 2) > --fcd-output fcd.xml > filter by the desired lane/edge and by the speed of the vehicle > > 3) > load the following definition ( > https://sumo.dlr.de/docs/Simulation/Output/Lane-_or_Edge-based_Traffic_Measures.html > ) > <edgeData id="custom" vTypes="typeofEgo" edges="edgeBeforeJunction" > file="result.xml"/> > "typeOfEgo" should be a unique type id that is only used by the specific > vehicle you are looking for > The desired result is written as attribute 'waitingTime' > > Am Sa., 16. Juli 2022 um 18:14 Uhr schrieb Hervé Diedie < > [email protected]>: > >> I want to determine how long a vehicle has waited on a lane before >> crossing an intersection ? >> _______________________________________________ >> 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 >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
