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
>
>
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
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
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
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
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