Re: [sumo-user] Questions about the content of SUMO ssm output file

2018-11-15 Thread Emily Z.
Hi Leo, Thanks for your help! Best, Lan On Thu, 15 Nov 2018 at 03:07, wrote: > Hi Lan, > > > > The velocity is a vector – a pair (dx,dy) per time step. If you are > interested in the speed, you have to take the vector’s length. That will > give you the value in m/s. > > > > Best, > > Leo > >

[sumo-user] get the interested variables while and after the simulation

2018-11-15 Thread Jane Cheung
Dear all, How could I get the travel time on each edge which have been defined in the route for each vehicle? Use the detector or use the output files? Appreciate in advance! Best! Jane ___ sumo-user mailing list sumo-user@eclipse.org To change your

Re: [sumo-user] Time gap calculation

2018-11-15 Thread Jakob Erdmann
Here is some old code that was called once per simulation step to compute the gaps: INDUCTION_LOOP_EXIT_TIMES_CACHE = {} # det_id : (veh_id, exitTime) def inductionloop_timegap(id): """returns the largest netto-time gap between sucessive vehicles""" vehicleData = traci.inductionloop.getVeh

Re: [sumo-user] Time gap calculation

2018-11-15 Thread Lina Siegerts
Thanks for the fast answer. Yes, i had also this idea. But do you know, how i can extract the time of this resulted lists by using this comand? Sorry, i am a beginner in sumo and python, so i would be very happy, if you could help me.   Gesendet: Mittwoch, 14. November 2018 um 16:02 Uhr Von: "Jako

Re: [sumo-user] Questions about the content of SUMO ssm output file

2018-11-15 Thread Leonhard.Luecken
Hi Lan, The velocity is a vector – a pair (dx,dy) per time step. If you are interested in the speed, you have to take the vector’s length. That will give you the value in m/s. Best, Leo Von: sumo-user-boun...@eclipse.org [mailto:sumo-user-boun...@eclipse.org] Im Auftrag von Emily Z. Gesende

Re: [sumo-user] problem using subscribeContext

2018-11-15 Thread Leonhard.Luecken
Hi Thais, Please note that the subscription filters only work for the latest development version (i.e., downloaded from http://sumo.dlr.de/wiki/Downloads#Nightly_Snapshots). If you have problems with that newest version please send a runnable failing example. Thanks, Leo Von: sumo-user-bou