Hello,
there is currently no direct interface to do so. If your network does not
use internal edges, you may just add up the length of all past edges in the
vehicles route (using sumolib) and its position on the current edge (using
traci).
Otherwise the simplest way I can think of is to integrate over the vehicles
speed.
regards,
Jakob



2015-01-05 17:39 GMT+01:00 Marie-Ange Lebre <[email protected]>:

> Hi !
>
> How to get the travelled distance in meters in real time ?
>
> Thanks a lot in advance,
>
> Marie-Ange
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to