Commit e85918c7 authored by Daniel Lehmberg's avatar Daniel Lehmberg
Browse files

potential bugfix with correct times

parent 1fa7f5ed
Pipeline #155529 passed with stages
in 128 minutes and 24 seconds
......@@ -194,7 +194,7 @@ public class PedestrianBHM extends Pedestrian {
throw new UnsupportedEventException(mostImportantEvent, this.getClass());
}
FootStep currentFootstep = new FootStep(position, getPosition(), timeOfNextStep, timeOfNextStep + durationNextStep);
FootStep currentFootstep = new FootStep(position, getPosition(), startTimeStep, endTimeStep);
getTrajectory().add(currentFootstep);
getFootstepHistory().add(currentFootstep);
}
......
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