Hello, junction traversal can be queried by placing a multi-entry-multi exit detector around the junction and querying ids / vehicle number http://sumo.dlr.de/wiki/TraCI/Multi-Entry-Exit_Detectors_Value_Retrieval Covering every tls-controlled junction with its own detector can be accomplished using sumo/tools/output/generateTLSE3Detectors.py
Regarding your second question I'm not sure I understand correctly. If you want to know when a vehicle departed, you have to record this yourself by saving departure times of all vehicles ( http://sumo.dlr.de/wiki/TraCI/Simulation_Value_Retrieval ids of departed vehicles (id 0x74) If you want to know when the vehicle was rerouted, you also have to record this yourself by recording it's routing and comparing in each simulation step. regards, Jakob 2017-04-28 6:32 GMT+02:00 Sneha Konnur <[email protected]>: > I have two doubts: > > Is is possible to get the number and ids of the vehicles that crossed a > given junction in the network using traci? > > Given a vehicle id, is it possible to know the time-stamp of the route > traversed by it till the current time? > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
