Commit dbde9e2f authored by Benedikt Zoennchen's avatar Benedikt Zoennchen

add TODO comment in Reynolds.

parent dac80587
...@@ -19,6 +19,10 @@ ...@@ -19,6 +19,10 @@
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.NoDataKeyOutputFile", "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.NoDataKeyOutputFile",
"filename" : "out1.txt", "filename" : "out1.txt",
"processors" : [ 4 ] "processors" : [ 4 ]
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.PedestrianIdOutputFile",
"filename" : "trajectories.txt",
"processors" : [ 6 ]
} ], } ],
"processors" : [ { "processors" : [ {
"type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianPositionProcessor", "type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianPositionProcessor",
...@@ -47,6 +51,9 @@ ...@@ -47,6 +51,9 @@
"attributes" : { "attributes" : {
"pedestrianOverlapProcessorId" : 3 "pedestrianOverlapProcessorId" : 3
} }
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianTrajectoryProcessor",
"id" : 6
} ], } ],
"isTimestamped" : true, "isTimestamped" : true,
"isWriteMetaData" : false "isWriteMetaData" : false
......
TestRSM TestRSM
\ No newline at end of file
...@@ -43,6 +43,7 @@ public class PedestrianReynolds extends Pedestrian { ...@@ -43,6 +43,7 @@ public class PedestrianReynolds extends Pedestrian {
setPosition(newPosition); setPosition(newPosition);
clearFootSteps(); clearFootSteps();
// TODO: the first footstep starts at the wrong time!
getFootSteps().add(new FootStep(oldPosition, newPosition, lastSimTimeInSec, simTime)); getFootSteps().add(new FootStep(oldPosition, newPosition, lastSimTimeInSec, simTime));
lastSimTimeInSec = simTime; lastSimTimeInSec = simTime;
} }
......
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