From feafa180168fd4036ec8a750adbfb629a70c28c1 Mon Sep 17 00:00:00 2001 From: "Ashmore, Michael (Capt)" <michael.ashmore@nps.edu> Date: Mon, 6 Jun 2022 12:02:38 -0700 Subject: [PATCH] Replace ExampleTrackInterpolationAshmore.java --- .../homework2/Ashmore/ExampleTrackInterpolationAshmore.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/assignments/src/MV3500Cohort2022MayJune/homework2/Ashmore/ExampleTrackInterpolationAshmore.java b/assignments/src/MV3500Cohort2022MayJune/homework2/Ashmore/ExampleTrackInterpolationAshmore.java index f3d6e6258e..c94315b14f 100644 --- a/assignments/src/MV3500Cohort2022MayJune/homework2/Ashmore/ExampleTrackInterpolationAshmore.java +++ b/assignments/src/MV3500Cohort2022MayJune/homework2/Ashmore/ExampleTrackInterpolationAshmore.java @@ -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) -- GitLab