A vehicle travels on a route which contains the same edge twice. For example, it goes around a circle for n times before traveling to other parts of the network. Problem:
The user queries the remaining driving distance of the route through traci.vehicle.getDrivingDistance(). The result only takes into account the position of the vehicle but not how often it has already passed the current edge (=the actual position in the route). For this reason, the driving distance may result longer than it actually is.