From c84fa156e4b67bbaace528fada91073a70cf7a50 Mon Sep 17 00:00:00 2001
From: brutzman <brutzman@nps.edu>
Date: Wed, 29 Aug 2018 14:27:09 -0700
Subject: [PATCH] output log

---
 .../src/DisExamples/EspduTerminalLog.txt      | 93 +++++++++++++++++++
 1 file changed, 93 insertions(+)
 create mode 100644 CourseExamples/src/DisExamples/EspduTerminalLog.txt

diff --git a/CourseExamples/src/DisExamples/EspduTerminalLog.txt b/CourseExamples/src/DisExamples/EspduTerminalLog.txt
new file mode 100644
index 0000000000..1925747ec5
--- /dev/null
+++ b/CourseExamples/src/DisExamples/EspduTerminalLog.txt
@@ -0,0 +1,93 @@
+Invocation instructions:
+1. run/debug EspduReceiver.java (since sender does not block, be ready to listen)
+2. run/debug EspduSender.java
+
+Program responses:
+
+===================================================
+run:
+DisExamples.EspduSender started... send 5 ESPDUs, initial index=0
+Sending 5 ESPDU packets to /239.1.2.3
+-121.87693999999999
+lat, lon:36.595517, -121.87693999999999
+DIS coord:-2707488.3677768684, -4353666.735244379, 3781450.3202754413
+Sending broadcast datagram packet to /127.255.255.255
+Sending broadcast datagram packet to /172.20.83.255
+Espdu #0 EID=[1,1,2]
+ DIS coordinates location=[-2707488.3677768684,-4353666.735244379,3781450.3202754413]
+-121.877
+lat, lon:36.595517, -121.877
+DIS coord:-2707492.9269245286, -4353663.899966802, 3781450.3202754413
+Sending broadcast datagram packet to /127.255.255.255
+Sending broadcast datagram packet to /172.20.83.255
+Espdu #1 EID=[1,1,2]
+ DIS coordinates location=[-2707492.9269245286,-4353663.899966802,3781450.3202754413]
+-121.87693999999999
+lat, lon:36.595517, -121.87693999999999
+DIS coord:-2707488.3677768684, -4353666.735244379, 3781450.3202754413
+Sending broadcast datagram packet to /127.255.255.255
+Sending broadcast datagram packet to /172.20.83.255
+Espdu #2 EID=[1,1,2]
+ DIS coordinates location=[-2707488.3677768684,-4353666.735244379,3781450.3202754413]
+-121.877
+lat, lon:36.595517, -121.877
+DIS coord:-2707492.9269245286, -4353663.899966802, 3781450.3202754413
+Sending broadcast datagram packet to /127.255.255.255
+Sending broadcast datagram packet to /172.20.83.255
+Espdu #3 EID=[1,1,2]
+ DIS coordinates location=[-2707492.9269245286,-4353663.899966802,3781450.3202754413]
+-121.87693999999999
+lat, lon:36.595517, -121.87693999999999
+DIS coord:-2707488.3677768684, -4353666.735244379, 3781450.3202754413
+Sending broadcast datagram packet to /127.255.255.255
+Sending broadcast datagram packet to /172.20.83.255
+Espdu #4 EID=[1,1,2]
+ DIS coordinates location=[-2707488.3677768684,-4353666.735244379,3781450.3202754413]
+BUILD SUCCESSFUL (total time: 5 seconds)
+
+===================================================
+run:
+DisExamples.EspduReceiver started...
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2]  Location in DIS coordinates: [-2707488.3677768684, -4353666.735244379, 3781450.3202754413]
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.FirePdu
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2]  Location in DIS coordinates: [-2707488.3677768684, -4353666.735244379, 3781450.3202754413]
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.FirePdu
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2]  Location in DIS coordinates: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.FirePdu
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2]  Location in DIS coordinates: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.FirePdu
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2]  Location in DIS coordinates: [-2707488.3677768684, -4353666.735244379, 3781450.3202754413]
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.FirePdu
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2]  Location in DIS coordinates: [-2707488.3677768684, -4353666.735244379, 3781450.3202754413]
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.FirePdu
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2]  Location in DIS coordinates: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.FirePdu
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2]  Location in DIS coordinates: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.FirePdu
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2]  Location in DIS coordinates: [-2707488.3677768684, -4353666.735244379, 3781450.3202754413]
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.FirePdu
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2]  Location in DIS coordinates: [-2707488.3677768684, -4353666.735244379, 3781450.3202754413]
+Bundle size is 1
+got PDU of type: edu.nps.moves.dis.FirePdu
+
+===================================================
+
-- 
GitLab