From 8d39245cc905175d37e52359b5f48595ac72abd9 Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Fri, 3 Sep 2021 09:00:39 -0700 Subject: [PATCH] additional recording/playback information --- examples/pduLog/Readme.md | 11 +++++++++++ .../OpenDis7Examples/ExampleSimulationProgram.java | 1 + 2 files changed, 12 insertions(+) diff --git a/examples/pduLog/Readme.md b/examples/pduLog/Readme.md index 2f5048e5b4..dbac0a5259 100644 --- a/examples/pduLog/Readme.md +++ b/examples/pduLog/Readme.md @@ -1 +1,12 @@ +# PDU Log Files + This directory holds temporary files and may be overwritten at any time! + +Each time you run a DIS simulation and a PduRecorder is listening, another +log file is created. + +Be sure to save your work, when appropriate, by copying your log file to +the corresponding homework or project directory (and likely renaming as well). + +Note that the PDU log files are very tolerant of inline comments starting with +a # character, so you can list success/failure/TODO issues there as well. diff --git a/examples/src/OpenDis7Examples/ExampleSimulationProgram.java b/examples/src/OpenDis7Examples/ExampleSimulationProgram.java index 2bd6d9599c..c96bbe1852 100644 --- a/examples/src/OpenDis7Examples/ExampleSimulationProgram.java +++ b/examples/src/OpenDis7Examples/ExampleSimulationProgram.java @@ -250,6 +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.start(); // begin running } -- GitLab