Hi Jacob, I have tried "vehiroute-exit-times" to get the value when a vehicle leaves an edge. But the output file is not showing the values. I want to know the arrival and departure time of a vehicle at the intersection area including the time it spent in the intersection area. I have attached the output file herewith for reference.
Regards, Sona On Wed, Sep 21, 2022 at 3:20 PM Sona S <[email protected]> wrote: > Thank you, Jacob, for your reply. > > On Tue, Sep 20, 2022 at 1:58 PM Jakob Erdmann <[email protected]> > wrote: > >> The options starting with -- are meant for the commandline. In a config >> file it looks like <vehroute-output.exit-times value="true"/> >> See https://sumo.dlr.de/docs/Simulation/Output/VehRoutes.html >> >> Am Mo., 19. Sept. 2022 um 13:31 Uhr schrieb Sona S <[email protected] >> >: >> >>> Thanks for reply. >>> I want arrival/departure time of each vehicle when it is moving on lane >>> and also in the intersection area. So basically I want time when it enters >>> and leaves lane as well as intersection area. How to do that? >>> >>> Do I need to write "--vehroute-output.exit-times, >>> vehroute-output.internal" in configuration file as output ? >>> >>> Regards, >>> Sona >>> >>> On Mon, Sep 19, 2022 at 12:50 PM Jakob Erdmann <[email protected]> >>> wrote: >>> >>>> The easiest solution is to log the edges that the vehicle is on >>>> (traci.vehicle.get RoadID) and trigger on leaving edge before the >>>> intersection / entering beyond the intersection. >>>> If you need sub-step timing data you can use >>>> traci.inductionloop.getVehicleData for appropriately placed detectors. >>>> >>>> Note, that the latest development version also supports xml outputs for >>>> this (--vehroute-output.exit-times, vehroute-output.internal). >>>> >>>> Am So., 18. Sept. 2022 um 13:18 Uhr schrieb Sona S < >>>> [email protected]>: >>>> >>>>> Hi everyone, >>>>> I wanted to know the arrival time and departure time of each >>>>> vehicle at the intersection using python. Can anyone help me to get the >>>>> values of that? >>>>> >>>>> Regards, >>>>> Sona >>>>> _______________________________________________ >>>>> 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 >>> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> >
lt
Description: Binary data
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
