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 <
[email protected]>:

> 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
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to