2.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit fd7953ae authored by Benedikt Zoennchen's avatar Benedikt Zoennchen
Browse files

Merge branch 'issue#242' into 'master'

fix issue #242.

Closes #242

See merge request !66
parents a303cac0 ea3b983c
Pipeline #122557 passed with stages
in 114 minutes and 28 seconds
......@@ -153,6 +153,9 @@ public class PedestrianOSM extends Pedestrian {
if(attributesOSM.isMinimumStepLength() && getPosition().distance(nextPosition) < minStepLength) {
nextPosition = getPosition();
}
/*else if(potentialFieldTarget.getPotential(nextPosition, this) >= potentialFieldTarget.getPotential(getPosition(), this)) {
nextPosition = getPosition();
}*/
} else {
stairStepOptimizer = new StairStepOptimizer(stairs);
......
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