Skip to content
Snippets Groups Projects
Commit af80c0a8 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

fix warnings

parent ddcc8951
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
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