Open m-kro opened 1 year ago
Let us wait for @behrisch to return
I am wondering any progress about the bug. The request link above is wrong. I attached the correct one below.
https://www.eclipse.org/lists/sumo-user/msg13258.html
Based on my investigation, the bug in Traci has nothing to do with time conditions. It may be induced by vehicles suddenly changing to other lanes when they are just on E1 detectors.
@m-kro I hope my finding may help you.
Discovered thanks to a request from the mailing list:
traci.inductionloop.getLastIntervalVehicleNumber
will not always return the vehicle count from the last interval, but sometimes lessCan be reproduced using the example from the mailing list and
traci.inductionloop.getIntervalVehicleNumber
&traci.inductionloop.getLastIntervalVehicleNumber
for every time stepEssentially substracting 1 TS at some points would correct this, but I doubt a bit given the error persists since several years at such a crucial point...