Hi Jakob,

ok, that makes sense.

In my case I have a vehicle which stops intentionally at a bus stop. As 
you pointed out since it stops by intent no waiting time is accumulated.

I thought I was previously using 0.28 when this behavior was different. 
But it looks like it was pre 0.27. Thanks for the quick help!

By the way which TraCI documentation did you update?

When looking at:
<http://www.sumo.dlr.de/daily/pydoc/traci._vehicle.html>

I don't see any changes.

-- 
Matthias


On 17.05.2017 21:33, Jakob Erdmann wrote:
> Hello,
> no change was intended for the behavior of this variable between version
> 0.28.0 and 0.30.0.
> In 0.27.0 there was a change insofar as vehicles do not accumulate
> waitingTime when stopping intentionally (i.e. at a busStop) anymore.
> I've updated the TraCI documentation which was incomplete in that regard
> since 0.27.0.
>
> My tests show that waitingTime is tracked correctly in the GUI and traci
> also returns non-zero values.
> Please provide an example scenario where waiting time is not properly
> incremented so I can determine whether there is a bug.
> regards,
> Jakob
>
> 2017-05-17 19:23 GMT+02:00 Matthias Wirtz <matthias.wi...@gmx.net
> <mailto:matthias.wi...@gmx.net>>:
>
>     Hello,
>
>     in SUMO version 0.28 the variable waiting time of each vehicle
>     represented the time since the vehicle was last moving:
>
>     In the traCI Vehicle docu it says:
>     "The waiting time of a vehicle is defined as the time (in seconds) spent
>     with a speed below 0.1m/s since the last time it was faster than
>     0.1m/s."
>
>     Now in Version 0.30 somehow the waiting time is always 0 both when
>     accessing via traCI via getWaitingTime or when looking in the GUI. So it
>     looks like this was done by intent.
>
>     Can I reactivate this variable?
>
>     Thx.
>     --
>     Matthias Wirtz
>
>     
> ------------------------------------------------------------------------------
>     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
>     sumo-user@lists.sourceforge.net <mailto:sumo-user@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/sumo-user
>     <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
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to