Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] MSInductLoop Error

Hi,

How do I switch to the release build? I have removed and reinstalled
SUMO, but the problem persisted. The version I am currently using is:

Eclipse SUMO Version 1.6.0
 Build features: Linux-4.4.0-178-generic x86_64 GNU 5.4.0 None Proj
GUI SWIG GDAL GL2PS

Best Regards.

On 8/14/20, Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
> The assertion is triggered only when running the debug-version of sumo, so
> the easiest solution is switch to the release build.
> Assuming that you built sumo from source, you could also try to run it in a
> debugger (
> https://sumo.dlr.de/docs/TraCI/Interfacing_TraCI_from_Python.html#debugging_a_traci_session_on_linux)
> and then report the values of entryTime and leaveTime (this would give a
> clue on whether the triggered assertion is invalid or the problem is
> somewhere else).
>
> regards,
> Jakob
>
> Am Fr., 14. Aug. 2020 um 04:47 Uhr schrieb E Huan Chen <
> colaaddict96@xxxxxxxxx>:
>
>> Hi,
>>
>> Could anyone help me with this error? In my simulations, I inserted
>> vehicles using TraCI, this worked fine with
>> traci.vehicle.add(vehicle). However, when I used
>> traci.vehicle.add(vehicle, typeID="l_car"), the following error
>> occurred halfway through a simulation:
>>
>> sumo-gui:
>> /build/sumo-Idoj3n/sumo-1.6.0+dfsg1/src/microsim/output/MSInductLoop.cpp:128:
>> virtual bool MSInductLoop::notifyMove(SUMOTrafficObject&, double,
>> double, double): Assertion `entryTime < leaveTime' failed.
>>
>> The induction loops I used are only the built-in induction loops from
>> the actuated traffic signal controllers. The vehicle type that I added
>> are defined in the .rou.xml, as shown below:
>>
>> <vType id="l_car" accel="2.5" vClass="passenger" decel="2.9"
>> sigma="0.5" length="4.3" minGap="2.5" maxSpeed="50" speedDev="0.2"
>> guiShape="passenger"/>
>>
>>
>> Any help is greatly appreciated.
>> Thank you.
>> _______________________________________________
>> sumo-user mailing list
>> sumo-user@xxxxxxxxxxx
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>


Back to the top