Commit ec1bfe94 authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier

In "OSMBehaviorController", added TODO to avoid "AssertionError" in "VTrajectory.add()".

parent 7e1125ae
......@@ -239,6 +239,11 @@ public class OSMBehaviorController {
}
private void swapPedestrians(PedestrianOSM pedestrian1, PedestrianOSM pedestrian2, Topography topography) {
// TODO Revise code to avoid AssertionError in VTrajectory.java:110
// at org.vadere.state.simulation.VTrajectory.add(VTrajectory.java:110)
// at org.vadere.simulator.models.osm.OSMBehaviorController.makeStep(OSMBehaviorController.java:79)
// at org.vadere.simulator.models.osm.OSMBehaviorController.swapPedestrians(OSMBehaviorController.java:250)
// This error arises because one agent makes two steps within one update step and step duration or something else is wrong.
VPoint newPosition = pedestrian2.getPosition().clone();
VPoint oldPosition = pedestrian1.getPosition().clone();
......
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