sumo icon indicating copy to clipboard operation
sumo copied to clipboard

Why changeLanes after executeMovement in MSNet.cpp?

Open ckh0715 opened this issue 3 years ago • 1 comments

What happen if I swap the order of myEdges->changeLanes and myEdges->executeMovements? I want to do this, but I'm afraid of creating some bugs.

ckh0715 avatar Mar 06 '23 05:03 ckh0715

The current order is mostly for historical reason. We even have long-standing plans to change this ourselves: see #3665

If you do swap things, the only thing that will probably break is the code for running with actionStepLength != simStepLength

namdre avatar Mar 06 '23 06:03 namdre