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
// at org.vadere.state.simulation.VTrajectory.add(
// at org.vadere.simulator.models.osm.OSMBehaviorController.makeStep(
// at org.vadere.simulator.models.osm.OSMBehaviorController.swapPedestrians(
// 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