Skip to content
Snippets Groups Projects
Commit feafa180 authored by Ashmore, Michael (Capt)'s avatar Ashmore, Michael (Capt)
Browse files

Replace ExampleTrackInterpolationAshmore.java

parent f5533e21
No related branches found
No related tags found
No related merge requests found
......@@ -103,10 +103,12 @@ public class ExampleTrackInterpolationAshmore extends ExampleSimulationProgramAs
// compute a track, update an ESPDU, whatever it is that your model is doing...
// Pick direction, change each 10 seconds, traverse a box. No physics. Walk a box!
if (simulationLoopCount <= 10)
if (simulationLoopCount <= 5)
directionEntity_1 = EntityStatePdu.Direction.NORTH;
else if (simulationLoopCount <= 20)
else if (simulationLoopCount <= 15)
directionEntity_1 = EntityStatePdu.Direction.EAST;
else if (simulationLoopCount <= 25)
directionEntity_1 = EntityStatePdu.Direction.NORTH;
else if (simulationLoopCount <= 30)
directionEntity_1 = EntityStatePdu.Direction.SOUTH;
else // if (simulationLoopCount <= 40)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment