We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a806366 commit df373daCopy full SHA for df373da
1 file changed
src/microsim/devices/MSIdling.cpp
@@ -29,6 +29,7 @@
29
#include <microsim/transportables/MSTransportable.h>
30
#include <microsim/trigger/MSTriggeredRerouter.h>
31
#include <mesosim/MELoop.h>
32
+#include <mesosim/MEVehicle.h>
33
#include "MSRoutingEngine.h"
34
#include "MSIdling.h"
35
@@ -122,6 +123,11 @@ MSIdling_Stop::idle(MSDevice_Taxi* taxi) {
122
123
}
124
pars.parametersSet |= STOP_TRIGGER_SET | STOP_PARKING_SET | STOP_END_SET;
125
pars.parking = ParkingType::OFFROAD;
126
+ if (MSGlobals::gUseMesoSim) {
127
+ MEVehicle& veh = dynamic_cast<MEVehicle&>(taxi->getHolder());
128
+ // register triggered stop
129
+ veh.mayProceed();
130
+ }
131
132
133
0 commit comments