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

updated test sat, run 5 times

parent 4f4e06cb
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ public class EspduSender { ...@@ -18,7 +18,7 @@ public class EspduSender {
/** Defining number of packets to send is superior to infinite loops /** Defining number of packets to send is superior to infinite loops
* which have possible hazard of unstoppably sending packets as a zombie process */ * which have possible hazard of unstoppably sending packets as a zombie process */
public static final int NUMBER_TO_SEND = 5000; public static final int NUMBER_TO_SEND = 5; // 5000;
/** Type of network connection */ /** Type of network connection */
public enum NetworkMode { public enum NetworkMode {
......
Invocation instructions: Invocation instructions:
1. run/debug EspduReceiver.java (since sender does not block, be ready to listen) 1. run/debug EspduReceiver.java (since sender does not block, must first be ready to listen)
2. run/debug EspduSender.java 2. run/debug EspduSender.java
Program responses: Program responses for sender and receiver:
=================================================== ===================================================
run: ant -f C:\\x-nps-gitlab\\NetworkedGraphicsMV3500\\examples -Dnb.internal.action.name=run.single -Djavac.includes=OpenDis4Examples/EspduSender.java -Drun.class=OpenDis4Examples.EspduSender run-single
DisExamples.EspduSender started... send 5 ESPDUs, initial index=0 init:
Sending 5 ESPDU packets to /239.1.2.3 Deleting: C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties
-121.87693999999999 deps-jar:
lat, lon:36.595517, -121.87693999999999 Updating property file: C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties
DIS coord:-2707488.3677768684, -4353666.735244378, 3781450.3202754413 Compiling 1 source file to C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\build\classes
Sending broadcast datagram packet to /127.255.255.255 compile-single:
Sending broadcast datagram packet to /172.20.220.105 run-single:
Sending broadcast datagram packet to /10.0.0.255 OpenDis4Examples.EspduSender started... send 5 ESPDUs, initial index=0
Espdu #0 EID=[1,1,2] Sending 5 ESPDU packets to /239.1.2.3
DIS coordinates location=[-2707488.3677768684,-4353666.735244378,3781450.3202754413] -121.87693999999999
-121.877 lat, lon:36.595517, -121.87693999999999
lat, lon:36.595517, -121.877 DIS coord:-2707488.3677768684, -4353666.735244378, 3781450.3202754413
DIS coord:-2707492.9269245286, -4353663.899966802, 3781450.3202754413 Sending broadcast datagram packet to /127.255.255.255
Sending broadcast datagram packet to /127.255.255.255 Sending broadcast datagram packet to /172.23.143.255
Sending broadcast datagram packet to /172.20.220.105 Sending broadcast datagram packet to /172.16.0.255
Sending broadcast datagram packet to /10.0.0.255 Sending broadcast datagram packet to /172.20.209.219
Espdu #1 EID=[1,1,2] Espdu #0 EID=[1,1,2]
DIS coordinates location=[-2707492.9269245286,-4353663.899966802,3781450.3202754413] DIS coordinates location=[-2707488.3677768684,-4353666.735244378,3781450.3202754413]
-121.87693999999999 -121.877
lat, lon:36.595517, -121.87693999999999 lat, lon:36.595517, -121.877
DIS coord:-2707488.3677768684, -4353666.735244378, 3781450.3202754413 DIS coord:-2707492.9269245286, -4353663.899966802, 3781450.3202754413
Sending broadcast datagram packet to /127.255.255.255 Sending broadcast datagram packet to /127.255.255.255
Sending broadcast datagram packet to /172.20.220.105 Sending broadcast datagram packet to /172.23.143.255
Sending broadcast datagram packet to /10.0.0.255 Sending broadcast datagram packet to /172.16.0.255
Espdu #2 EID=[1,1,2] Sending broadcast datagram packet to /172.20.209.219
DIS coordinates location=[-2707488.3677768684,-4353666.735244378,3781450.3202754413] Espdu #1 EID=[1,1,2]
-121.877 DIS coordinates location=[-2707492.9269245286,-4353663.899966802,3781450.3202754413]
lat, lon:36.595517, -121.877 -121.87693999999999
DIS coord:-2707492.9269245286, -4353663.899966802, 3781450.3202754413 lat, lon:36.595517, -121.87693999999999
Sending broadcast datagram packet to /127.255.255.255 DIS coord:-2707488.3677768684, -4353666.735244378, 3781450.3202754413
Sending broadcast datagram packet to /172.20.220.105 Sending broadcast datagram packet to /127.255.255.255
Sending broadcast datagram packet to /10.0.0.255 Sending broadcast datagram packet to /172.23.143.255
Espdu #3 EID=[1,1,2] Sending broadcast datagram packet to /172.16.0.255
DIS coordinates location=[-2707492.9269245286,-4353663.899966802,3781450.3202754413] Sending broadcast datagram packet to /172.20.209.219
-121.87693999999999 Espdu #2 EID=[1,1,2]
lat, lon:36.595517, -121.87693999999999 DIS coordinates location=[-2707488.3677768684,-4353666.735244378,3781450.3202754413]
DIS coord:-2707488.3677768684, -4353666.735244378, 3781450.3202754413 -121.877
Sending broadcast datagram packet to /127.255.255.255 lat, lon:36.595517, -121.877
Sending broadcast datagram packet to /172.20.220.105 DIS coord:-2707492.9269245286, -4353663.899966802, 3781450.3202754413
Sending broadcast datagram packet to /10.0.0.255 Sending broadcast datagram packet to /127.255.255.255
Espdu #4 EID=[1,1,2] Sending broadcast datagram packet to /172.23.143.255
DIS coordinates location=[-2707488.3677768684,-4353666.735244378,3781450.3202754413] Sending broadcast datagram packet to /172.16.0.255
BUILD SUCCESSFUL (total time: 7 seconds) Sending broadcast datagram packet to /172.20.209.219
Espdu #3 EID=[1,1,2]
=================================================== DIS coordinates location=[-2707492.9269245286,-4353663.899966802,3781450.3202754413]
run: -121.87693999999999
DisExamples.EspduReceiver started... lat, lon:36.595517, -121.87693999999999
Bundle size is 1 DIS coord:-2707488.3677768684, -4353666.735244378, 3781450.3202754413
got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2] Location in DIS coordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413] Sending broadcast datagram packet to /127.255.255.255
Bundle size is 1 Sending broadcast datagram packet to /172.23.143.255
got PDU of type: edu.nps.moves.dis.FirePdu Sending broadcast datagram packet to /172.16.0.255
Bundle size is 1 Sending broadcast datagram packet to /172.20.209.219
got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2] Location in DIS coordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413] Espdu #4 EID=[1,1,2]
Bundle size is 1 DIS coordinates location=[-2707488.3677768684,-4353666.735244378,3781450.3202754413]
got PDU of type: edu.nps.moves.dis.FirePdu BUILD SUCCESSFUL (total time: 12 seconds)
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 ant -f C:\\x-nps-gitlab\\NetworkedGraphicsMV3500\\examples -Dnb.internal.action.name=run.single -Djavac.includes=OpenDis4Examples/EspduReceiver.java -Drun.class=OpenDis4Examples.EspduReceiver run-single
got PDU of type: edu.nps.moves.dis.FirePdu init:
Bundle size is 1 Deleting: C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties
got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2] Location in DIS coordinates: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413] deps-jar:
Bundle size is 1 Updating property file: C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties
got PDU of type: edu.nps.moves.dis.FirePdu Compiling 1 source file to C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\build\classes
Bundle size is 1 compile-single:
got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2] Location in DIS coordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413] run-single:
Bundle size is 1 OpenDis4Examples.EspduReceiver started...
got PDU of type: edu.nps.moves.dis.FirePdu Bundle size is 1
Bundle size is 1 got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2] Location in DIS coordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2] Location in DIS coordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413] Bundle size is 1
Bundle size is 1 got PDU of type: edu.nps.moves.dis.FirePdu
got PDU of type: edu.nps.moves.dis.FirePdu Bundle size is 1
Bundle size is 1 got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2] Location in DIS coordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
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
Bundle size is 1 got PDU of type: edu.nps.moves.dis.FirePdu
got PDU of type: edu.nps.moves.dis.FirePdu Bundle size is 1
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]
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
Bundle size is 1 got PDU of type: edu.nps.moves.dis.FirePdu
got PDU of type: edu.nps.moves.dis.FirePdu Bundle size is 1
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]
got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2] Location in DIS coordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413] Bundle size is 1
Bundle size is 1 got PDU of type: edu.nps.moves.dis.FirePdu
got PDU of type: edu.nps.moves.dis.FirePdu Bundle size is 1
Bundle size is 1 got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2] Location in DIS coordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413]
got PDU of type: edu.nps.moves.dis.EntityStatePdu EID:[1, 1, 2] Location in DIS coordinates: [-2707488.3677768684, -4353666.735244378, 3781450.3202754413] Bundle size is 1
Bundle size is 1 got PDU of type: edu.nps.moves.dis.FirePdu
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.735244378, 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.735244378, 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.735244378, 3781450.3202754413]
Bundle size is 1
got PDU of type: edu.nps.moves.dis.FirePdu
===================================================
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