Good day,

Typically I use to generate random traffic onto any map.
However, when observing and plotting information of vehicle id="0", SUMO
registers an error saying the edges are not connected for the vehicles'
(several vehicles) paths.

Attached is the error I receive and it is continuous for many vehicles. Is
there another way to generate random traffic rather than manually keying in
the information to the .rou file? 200 to 400 vehicles is quite time

Another query is, how do I calculate distance the vehicle has traveled from
the starting point? Something similar to an odometer will do or if there is
a method to measure the distance between edges or both? I have tried using
traci.vehicle.getDistance(testVehicle) but it was not successful.

Your help is very much appreciated.

Check out the vibrant tech community on one of the world's most
engaging tech sites,!
sumo-user mailing list

Reply via email to