diff --git a/CourseExamples/src/DisExamples/EspduTerminalLog.txt b/CourseExamples/src/DisExamples/EspduTerminalLog.txt new file mode 100644 index 0000000000000000000000000000000000000000..1925747ec59f0115aad9587ca9efe3b43d85a204 --- /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 + +=================================================== +