Closed Domsall closed 1 month ago
I think the detector end position is not detected correctly because the snap function still takes the first lane's length: https://github.com/eclipse-sumo/sumo/blob/6f9ff4ddaa42305c87f46edd44a88626180a9a71/src/microsim/output/MSE2Collector.cpp#L264-L266
Thanks as always for looking carefully at the code ;-)
During debugging, I ran into the following assert:
https://github.com/eclipse-sumo/sumo/blob/6f9ff4ddaa42305c87f46edd44a88626180a9a71/src/microsim/output/MSE2Collector.cpp#L282
For now, I just deleted "- POSITION_EPS". The test case to reproduce the error:
Delay_based_assert.zip