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

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 {
synchronized (topography) {
topography.moveElement(pedestrian, pedestrian.getPosition());
topography.moveElement(pedestrian, currentPosition);
// compute velocity by forward difference
Supports Markdown
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