Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » Eclipse Sumo » SUMO MSMeanData assert fails
SUMO MSMeanData assert fails [message #1840606] Tue, 20 April 2021 15:11
Iveel Tsogsuren is currently offline Iveel TsogsurenFriend
Messages: 2
Registered: April 2021
Junior Member
Hi SUMO folks,

When I try to collect simulation edge statistics, sumo/sumo_1_6_0/src/microsim/output/MSMeanData.cpp fails on "assert(timeBeforeEnter <= MIN2(timeBeforeEnterBack, timeBeforeLeaveFront))". When I looked into the failing vehicle, it is a default vehicle type and its state looks like below right before the assert:

lane length: 8.97
oldPos: -1.69
newPos: 8.97
oldPosBack: -6.69
newPosBack: 3.97
timeBeforeEnter: 0.16
timeBeforeEnterBack: 0.63
timeBeforeLeaveFront: 0.00

When I change --step-length from 1 to 0.5, the simulation succeeds. It seems like this assert is inconsistent.

My network and route files look alright. What could be causing this? How can I fix it?

I would appreciate any ideas and comments ! Thanks!
Previous Topic:Application files for vehicle categories
Next Topic:Unable to append extra routes to current SUMO scenario.
Goto Forum:

Current Time: Sun Mar 03 12:28:25 GMT 2024

Powered by FUDForum. Page generated in 0.01807 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top