Hi,

I use TraCI to receive the "distance" value for a vehicle (0xa4 0x84) which 
provides the driven distance in [m]. However, I noticed that this value is 
reset and starts from the beginning when I change the route of the vehicle 
during the simulation via TraCI. Is this behavior correct or a bug?

> ....
> Distance driven: 3904.963645982272
> Distance driven: 3916.34825762633
> Distance driven: 3924.487169830839
> Changed Route to id="2"
> Distance driven: 14.046263334602898
> Distance driven: 21.80553813760868
> Distance driven: 29.374994239863014
> ....

Kind Regards,
Karl.
_________________________________

Karl Hübner, M.Sc.
Research Fellow

E-Mail: 
[email protected]<mailto:[email protected]>

Fraunhofer Institute for Open Communication Systems
Kaiserin-Augusta-Allee 31
10589 Berlin, Germany
http://www.fokus.fraunhofer.de<http://www.fokus.fraunhofer.de/>

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to