diff --git a/examples/src/OpenDis7Examples/ExampleTrackInterpolation.java b/examples/src/OpenDis7Examples/ExampleTrackInterpolation.java index 5da68959db4066f5b03f186b3dd00cab410c60fb..087b3461b0dcb12e03c386341bca20e61997dd9d 100644 --- a/examples/src/OpenDis7Examples/ExampleTrackInterpolation.java +++ b/examples/src/OpenDis7Examples/ExampleTrackInterpolation.java @@ -11,6 +11,7 @@ import edu.nps.moves.dis7.enumerations.ForceID; import edu.nps.moves.dis7.pdus.EntityStatePdu; import edu.nps.moves.dis7.pdus.Pdu; import edu.nps.moves.dis7.pdus.Vector3Double; +import edu.nps.moves.dis7.utilities.DisChannel; import edu.nps.moves.dis7.utilities.DisTime; import edu.nps.moves.dis7.utilities.stream.X3dCreateInterpolators; import edu.nps.moves.dis7.utilities.stream.X3dCreateLineSet; @@ -163,7 +164,7 @@ public class ExampleTrackInterpolation extends ExampleSimulationProgram if (disChannel.getPduRecorder().hasVerboseOutput()) System.out.println("sending PDUs for simulation step " + simulationLoopCount + ", monitor loopback to confirm sent"); disChannel.sendSinglePdu(espdu_1); - disChannel.sendCommentPdu(disChannel.COMMENTPDU_SIMULATION_TIMESTEP, narrativeMessage1, narrativeMessage2, narrativeMessage3); + disChannel.sendCommentPdu(DisChannel.COMMENTPDU_SIMULATION_TIMESTEP, narrativeMessage1, narrativeMessage2, narrativeMessage3); if (disChannel.getPduRecorder().hasVerboseOutput()) System.out.println(disChannel.getTRACE_PREFIX() + "PDUs successfully sent for this loop"); pduSentList.add(espdu_1); @@ -195,7 +196,7 @@ public class ExampleTrackInterpolation extends ExampleSimulationProgram System.out.println("================================="); narrativeMessage2 = "runSimulation() completed successfully"; // all done - disChannel.sendCommentPdu(disChannel.COMMENTPDU_NARRATIVE, narrativeMessage1, narrativeMessage2, narrativeMessage3); + disChannel.sendCommentPdu(DisChannel.COMMENTPDU_NARRATIVE, narrativeMessage1, narrativeMessage2, narrativeMessage3); if (disChannel.getPduRecorder().hasVerboseOutput()) disChannel.printlnTRACE("final CommentPdu successfully sent for simulation"); // TODO simulation management PDUs @@ -241,7 +242,7 @@ public class ExampleTrackInterpolation extends ExampleSimulationProgram thisProgram.disChannel.printlnTRACE("main() started..."); - thisProgram.handleArgs (args); // process command-line invocation arguments + thisProgram.handleArguments (args); // process command-line invocation arguments // thisProgram.disChannel.getPduRecorder().setVerbose(false); // thisProgram.disChannel.setVerboseComments(false);