From 5cf20f268151ba54d339c38f77394fe66c050ae2 Mon Sep 17 00:00:00 2001
From: brutzman <brutzman@DESKTOP-2S09UKA>
Date: Mon, 5 Jul 2021 09:47:49 -0700
Subject: [PATCH] updated run output log

---
 .../src/OpenDis7Examples/EspduTerminalLog.txt | 154 ++++--------------
 1 file changed, 35 insertions(+), 119 deletions(-)

diff --git a/examples/src/OpenDis7Examples/EspduTerminalLog.txt b/examples/src/OpenDis7Examples/EspduTerminalLog.txt
index 4dba55c853..714e291b53 100644
--- a/examples/src/OpenDis7Examples/EspduTerminalLog.txt
+++ b/examples/src/OpenDis7Examples/EspduTerminalLog.txt
@@ -7,130 +7,46 @@ Program responses, sender and receiver:
 ===================================================
 run:
 
-
-DisExamplesOpenDis7.EspduSender started...
-Sending 5 sets of packets:
+[OpenDis7Examples.EspduSender]  started...
+[OpenDis7Examples.EspduSender]  sending multicast ESPDU packets to 239.1.2.3 port 3000
+===============
+espdu entityType information:
+  EntityKind =EntityKind 1 PLATFORM
+  Country    =Country 225 UNITED_STATES_OF_AMERICA_USA
+  Domain     =Land
+  Category   =1
+  SubCategory=1
+  Specific   =Country 225 UNITED_STATES_OF_AMERICA_USA
+[OpenDis7Examples.EspduSender] sending 1 sets of packets:
 ===============
 Create new PDUs
   latitude, longitude:   [36.595517, -121.87693999999999]
   coordinate conversion: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
 Espdu #0 entityID=[1,2,3]
-Sending espdu datagram packet to /127.255.255.255
-Sending  fire datagram packet to /127.255.255.255
-Sending espdu datagram packet to /172.20.221.218
-Sending  fire datagram packet to /172.20.221.218
-Sending espdu datagram packet to /10.0.0.255
-Sending  fire datagram packet to /10.0.0.255
-===============
-Create new PDUs
-  latitude, longitude:   [36.595517, -121.877]
-  coordinate conversion: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
-Espdu #1 entityID=[1,2,3]
-Sending espdu datagram packet to /127.255.255.255
-Sending  fire datagram packet to /127.255.255.255
-Sending espdu datagram packet to /172.20.221.218
-Sending  fire datagram packet to /172.20.221.218
-Sending espdu datagram packet to /10.0.0.255
-Sending  fire datagram packet to /10.0.0.255
-===============
-Create new PDUs
-  latitude, longitude:   [36.595517, -121.87693999999999]
-  coordinate conversion: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
-Espdu #2 entityID=[1,2,3]
-Sending espdu datagram packet to /127.255.255.255
-Sending  fire datagram packet to /127.255.255.255
-Sending espdu datagram packet to /172.20.221.218
-Sending  fire datagram packet to /172.20.221.218
-Sending espdu datagram packet to /10.0.0.255
-Sending  fire datagram packet to /10.0.0.255
-===============
-Create new PDUs
-  latitude, longitude:   [36.595517, -121.877]
-  coordinate conversion: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
-Espdu #3 entityID=[1,2,3]
-Sending espdu datagram packet to /127.255.255.255
-Sending  fire datagram packet to /127.255.255.255
-Sending espdu datagram packet to /172.20.221.218
-Sending  fire datagram packet to /172.20.221.218
-Sending espdu datagram packet to /10.0.0.255
-Sending  fire datagram packet to /10.0.0.255
-===============
-Create new PDUs
-  latitude, longitude:   [36.595517, -121.87693999999999]
-  coordinate conversion: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
-Espdu #4 entityID=[1,2,3]
-Sending espdu datagram packet to /127.255.255.255
-Sending  fire datagram packet to /127.255.255.255
-Sending espdu datagram packet to /172.20.221.218
-Sending  fire datagram packet to /172.20.221.218
-Sending espdu datagram packet to /10.0.0.255
-Sending  fire datagram packet to /10.0.0.255
-===============
-DisExamplesOpenDis7.EspduSender complete.
-BUILD SUCCESSFUL (total time: 8 seconds)
+[OpenDis7Examples.EspduSender] sending datagram packet [DISPDUType 1 ENTITY_STATE] to 127.255.255.255 port 3000
+[OpenDis7Examples.EspduSender] sending datagram packet [DISPDUType 2 FIRE        ] to 127.255.255.255 port 3000
+[OpenDis7Examples.EspduSender] sending datagram packet [DISPDUType 1 ENTITY_STATE] to 172.20.209.222  port 3000
+[OpenDis7Examples.EspduSender] sending datagram packet [DISPDUType 2 FIRE        ] to 172.20.209.222  port 3000
+[OpenDis7Examples.EspduSender] sending datagram packet [DISPDUType 1 ENTITY_STATE] to 172.16.0.255    port 3000
+[OpenDis7Examples.EspduSender] sending datagram packet [DISPDUType 2 FIRE        ] to 172.16.0.255    port 3000
+===============
+[OpenDis7Examples.EspduSender] complete.
+BUILD SUCCESSFUL (total time: 3 seconds)
 
 ===================================================
 
-DisExamplesOpenDis7.EspduReceiver started...
-===============
-received PDU type 1=ENTITY_STATE edu.nps.moves.dis7.EntityStatePdu
-  entityID triplet: [1, 2, 3] 
-  Location in DIS coordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
-received PDU type 2=FIRE edu.nps.moves.dis7.FirePdu
-  FirePdu locationInWorldCoordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
-===============
-received PDU type 1=ENTITY_STATE edu.nps.moves.dis7.EntityStatePdu
-  entityID triplet: [1, 2, 3] 
-  Location in DIS coordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
-received PDU type 2=FIRE edu.nps.moves.dis7.FirePdu
-  FirePdu locationInWorldCoordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
-===============
-received PDU type 1=ENTITY_STATE edu.nps.moves.dis7.EntityStatePdu
-  entityID triplet: [1, 2, 3] 
-  Location in DIS coordinates: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
-received PDU type 2=FIRE edu.nps.moves.dis7.FirePdu
-  FirePdu locationInWorldCoordinates: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
-===============
-received PDU type 1=ENTITY_STATE edu.nps.moves.dis7.EntityStatePdu
-  entityID triplet: [1, 2, 3] 
-  Location in DIS coordinates: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
-received PDU type 2=FIRE edu.nps.moves.dis7.FirePdu
-  FirePdu locationInWorldCoordinates: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
-===============
-received PDU type 1=ENTITY_STATE edu.nps.moves.dis7.EntityStatePdu
-  entityID triplet: [1, 2, 3] 
-  Location in DIS coordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
-received PDU type 2=FIRE edu.nps.moves.dis7.FirePdu
-  FirePdu locationInWorldCoordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
-===============
-received PDU type 1=ENTITY_STATE edu.nps.moves.dis7.EntityStatePdu
-  entityID triplet: [1, 2, 3] 
-  Location in DIS coordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
-received PDU type 2=FIRE edu.nps.moves.dis7.FirePdu
-  FirePdu locationInWorldCoordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
-===============
-received PDU type 1=ENTITY_STATE edu.nps.moves.dis7.EntityStatePdu
-  entityID triplet: [1, 2, 3] 
-  Location in DIS coordinates: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
-received PDU type 2=FIRE edu.nps.moves.dis7.FirePdu
-  FirePdu locationInWorldCoordinates: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
-===============
-received PDU type 1=ENTITY_STATE edu.nps.moves.dis7.EntityStatePdu
-  entityID triplet: [1, 2, 3] 
-  Location in DIS coordinates: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
-received PDU type 2=FIRE edu.nps.moves.dis7.FirePdu
-  FirePdu locationInWorldCoordinates: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
-===============
-received PDU type 1=ENTITY_STATE edu.nps.moves.dis7.EntityStatePdu
-  entityID triplet: [1, 2, 3] 
-  Location in DIS coordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
-received PDU type 2=FIRE edu.nps.moves.dis7.FirePdu
-  FirePdu locationInWorldCoordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
-===============
-received PDU type 1=ENTITY_STATE edu.nps.moves.dis7.EntityStatePdu
-  entityID triplet: [1, 2, 3] 
-  Location in DIS coordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
-received PDU type 2=FIRE edu.nps.moves.dis7.FirePdu
-  FirePdu locationInWorldCoordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
-
-===================================================
\ No newline at end of file
+[OpenDis7Examples.EspduReceiver] started...
+[OpenDis7Examples.EspduReceiver] listening for PDU packets on 239.1.2.3 port 3000
+===============
+  1. received PDU type 1=ENTITY_STATE edu.nps.moves.dis7.pdus.EntityStatePdu
+     entityID triplet: [1, 2, 3]
+     Location in DIS coordinates:        [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
+  2. received PDU type 2=FIRE edu.nps.moves.dis7.pdus.FirePdu
+     FirePdu locationInWorldCoordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
+===============
+  3. received PDU type 1=ENTITY_STATE edu.nps.moves.dis7.pdus.EntityStatePdu
+     entityID triplet: [1, 2, 3]
+     Location in DIS coordinates:        [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
+  4. received PDU type 2=FIRE edu.nps.moves.dis7.pdus.FirePdu
+     FirePdu locationInWorldCoordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
+===============
\ No newline at end of file
-- 
GitLab