Commit 4e897cbb authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier

Bugfix in "OSMBehaviorController.makeStep()": "topography.moveElement()" was used wrongly.

"Topography.moveElement()" expects the old position as second argument and not the new position.
parent dda3c5d7
Pipeline #94761 failed with stages
in 101 minutes and 46 seconds
......@@ -61,7 +61,7 @@ public class OSMBehaviorController {
pedestrian.setPosition(nextPosition);
synchronized (topography) {
topography.moveElement(pedestrian, pedestrian.getPosition());
topography.moveElement(pedestrian, currentPosition);
}
// compute velocity by forward difference
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment