Skip to content

Commit

Permalink
Add ActionStep-Dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Salles <[email protected]>
  • Loading branch information
Domsall committed Jan 31, 2024
1 parent 21bb581 commit 63a7e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/microsim/MSVehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4412,7 +4412,7 @@ MSVehicle::executeMove() {
// Call to finalizeSpeed applies speed reduction due to dawdling / lane changing but ensures minimum safe speed
double vNext = vSafe;
const double rawAccel = SPEED2ACCEL(MAX2(vNext, 0.) - myState.mySpeed);
if (vNext <= SUMO_const_haltingSpeed && myWaitingTime > MSGlobals::gStartupWaitThreshold && rawAccel <= accelThresholdForWaiting()) {
if (vNext <= SUMO_const_haltingSpeed && myWaitingTime > MSGlobals::gStartupWaitThreshold && rawAccel <= accelThresholdForWaiting() && myActionStep) {
myTimeSinceStartup = 0;
} else if (isStopped()) {
// do not apply startupDelay for waypoints
Expand Down

0 comments on commit 63a7e02

Please sign in to comment.