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 {
/** Defining number of packets to send is superior to infinite loops
* 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 */
public enum NetworkMode {
......
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.735244378, 3781450.3202754413
Sending broadcast datagram packet to /127.255.255.255
Sending broadcast datagram packet to /172.20.220.105
Sending broadcast datagram packet to /10.0.0.255
Espdu #0 EID=[1,1,2]
DIS coordinates location=[-2707488.3677768684,-4353666.735244378,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.220.105
Sending broadcast datagram packet to /10.0.0.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.735244378, 3781450.3202754413
Sending broadcast datagram packet to /127.255.255.255
Sending broadcast datagram packet to /172.20.220.105
Sending broadcast datagram packet to /10.0.0.255
Espdu #2 EID=[1,1,2]
DIS coordinates location=[-2707488.3677768684,-4353666.735244378,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.220.105
Sending broadcast datagram packet to /10.0.0.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.735244378, 3781450.3202754413
Sending broadcast datagram packet to /127.255.255.255
Sending broadcast datagram packet to /172.20.220.105
Sending broadcast datagram packet to /10.0.0.255
Espdu #4 EID=[1,1,2]
DIS coordinates location=[-2707488.3677768684,-4353666.735244378,3781450.3202754413]
BUILD SUCCESSFUL (total time: 7 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.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
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
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
===================================================
Invocation instructions:
1. run/debug EspduReceiver.java (since sender does not block, must first be ready to listen)
2. run/debug EspduSender.java
Program responses for sender and receiver:
===================================================
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
init:
Deleting: C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties
deps-jar:
Updating property file: C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties
Compiling 1 source file to C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\build\classes
compile-single:
run-single:
OpenDis4Examples.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.735244378, 3781450.3202754413
Sending broadcast datagram packet to /127.255.255.255
Sending broadcast datagram packet to /172.23.143.255
Sending broadcast datagram packet to /172.16.0.255
Sending broadcast datagram packet to /172.20.209.219
Espdu #0 EID=[1,1,2]
DIS coordinates location=[-2707488.3677768684,-4353666.735244378,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.23.143.255
Sending broadcast datagram packet to /172.16.0.255
Sending broadcast datagram packet to /172.20.209.219
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.735244378, 3781450.3202754413
Sending broadcast datagram packet to /127.255.255.255
Sending broadcast datagram packet to /172.23.143.255
Sending broadcast datagram packet to /172.16.0.255
Sending broadcast datagram packet to /172.20.209.219
Espdu #2 EID=[1,1,2]
DIS coordinates location=[-2707488.3677768684,-4353666.735244378,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.23.143.255
Sending broadcast datagram packet to /172.16.0.255
Sending broadcast datagram packet to /172.20.209.219
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.735244378, 3781450.3202754413
Sending broadcast datagram packet to /127.255.255.255
Sending broadcast datagram packet to /172.23.143.255
Sending broadcast datagram packet to /172.16.0.255
Sending broadcast datagram packet to /172.20.209.219
Espdu #4 EID=[1,1,2]
DIS coordinates location=[-2707488.3677768684,-4353666.735244378,3781450.3202754413]
BUILD SUCCESSFUL (total time: 12 seconds)
===================================================
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
init:
Deleting: C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties
deps-jar:
Updating property file: C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties
Compiling 1 source file to C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\build\classes
compile-single:
run-single:
OpenDis4Examples.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.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
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
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