Skip to main content

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

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.


Back to the top