From 4d017bcb34e1947cd972a6e049322b5a37241a5b Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Sun, 5 Sep 2021 16:00:02 -0700 Subject: [PATCH] pduRecorder.setVerbose(true) and related methods now available --- examples/src/OpenDis7Examples/ExampleSimulationProgram.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/src/OpenDis7Examples/ExampleSimulationProgram.java b/examples/src/OpenDis7Examples/ExampleSimulationProgram.java index c96bbe1852..d26ee14e6d 100644 --- a/examples/src/OpenDis7Examples/ExampleSimulationProgram.java +++ b/examples/src/OpenDis7Examples/ExampleSimulationProgram.java @@ -72,7 +72,7 @@ public class ExampleSimulationProgram entityStatePdu_2.setForceId(ForceID.OPPOSING); FirePdu firePdu_1a = pduFactory.makeFirePdu(); // for entity 1 first weapon (if any) - FirePdu firePdu_1b = pduFactory.makeFirePdu(); // for entity 1 second weapon (if any) +// FirePdu firePdu_1b = pduFactory.makeFirePdu(); // for entity 1 second weapon (if any) // should we customize this munition? what is it for your simulation? // TODO simulation management PDUs for startup, planning to design special class support @@ -250,7 +250,7 @@ public class ExampleSimulationProgram System.out.println("Beginning pdu save to directory " + outputDirectory); pduRecorder = new PduRecorder(outputDirectory, getNetworkAddress(), getNetworkPort()); // assumes save pduRecorder.setDescriptor ("ExampleSimulationProgram pduRecorder"); -// pduRecorder.setVerbose(true); // TODO + pduRecorder.setVerbose(true); pduRecorder.start(); // begin running } -- GitLab