Skip to content
Snippets Groups Projects
EspduSenderLog.txt 7.82 KiB
Invocation instructions:
1. run/debug EspduReceiver.java (since sender does not block, first be ready to listen)
2. run/debug EspduSender.java

Program responses follow for sender:

===================================================
ant -f C:\\x-nps-gitlab\\NetworkedGraphicsMV3500\\examples -Dnb.internal.action.name=run.single -Djavac.includes=OpenDis7Examples/EspduSender.java -Drun.class=OpenDis7Examples.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:
[OpenDis7Examples.EspduSender]  started...
[OpenDis7Examples.EspduSender]  sending multicast ESPDU packets to 239.1.2.3 port 3000
===============
espdu entityType information:
  EntityKind =DisPduType 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 5 sets of packets:
===============
Create new PDUs
  latitude, longitude:   [36.595517, -121.87706]
  coordinate conversion: [-2707497.4860692197, -4353661.0646844525, 3781450.3202754413]
Espdu #1 entityID=[1,2,3]
FirePdu #1 firePdu=[FireMissionIndex=0, descriptor=MunitionDescriptor:
 munitionType: EntityType:
 entityKind: DisPduType 0 OTHER
 domain: Other
 country: Country 0 OTHER
 category: 0
 subCategory: 0
 specific: 0
 extra: 0

 warhead: MunitionDescriptorWarhead 0 OTHER
 fuse: MunitionDescriptorFuse 0 OTHER
 quantity: 0
 rate: 0
]
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 01 ENTITY_STATE] packet.getLength()=144, to 127.255.255.255 port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 02 FIRE        ] packet.getLength()= 96, to 127.255.255.255 port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 01 ENTITY_STATE] packet.getLength()=144, to 172.28.143.255  port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 02 FIRE        ] packet.getLength()= 96, to 172.28.143.255  port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 01 ENTITY_STATE] packet.getLength()=144, to 172.20.159.255  port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 02 FIRE        ] packet.getLength()= 96, to 172.20.159.255  port 3000
===============
Create new PDUs
  latitude, longitude:   [36.595517, -121.877]
  coordinate conversion: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
Espdu #2 entityID=[1,2,3]
FirePdu #2 firePdu=[FireMissionIndex=0, descriptor=MunitionDescriptor:
 munitionType: EntityType:
 entityKind: DisPduType 0 OTHER
 domain: Other
 country: Country 0 OTHER
 category: 0
 subCategory: 0
 specific: 0
 extra: 0

 warhead: MunitionDescriptorWarhead 0 OTHER
 fuse: MunitionDescriptorFuse 0 OTHER
 quantity: 0
 rate: 0
]
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 01 ENTITY_STATE] packet.getLength()=144, to 127.255.255.255 port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 02 FIRE        ] packet.getLength()= 96, to 127.255.255.255 port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 01 ENTITY_STATE] packet.getLength()=144, to 172.28.143.255  port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 02 FIRE        ] packet.getLength()= 96, to 172.28.143.255  port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 01 ENTITY_STATE] packet.getLength()=144, to 172.20.159.255  port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 02 FIRE        ] packet.getLength()= 96, to 172.20.159.255  port 3000
===============
Create new PDUs
  latitude, longitude:   [36.595517, -121.87706]
  coordinate conversion: [-2707497.4860692197, -4353661.0646844525, 3781450.3202754413]
Espdu #3 entityID=[1,2,3]
FirePdu #3 firePdu=[FireMissionIndex=0, descriptor=MunitionDescriptor:
 munitionType: EntityType:
 entityKind: DisPduType 0 OTHER
 domain: Other
 country: Country 0 OTHER
 category: 0
 subCategory: 0
 specific: 0
 extra: 0

 warhead: MunitionDescriptorWarhead 0 OTHER
 fuse: MunitionDescriptorFuse 0 OTHER
 quantity: 0
 rate: 0
]
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 01 ENTITY_STATE] packet.getLength()=144, to 127.255.255.255 port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 02 FIRE        ] packet.getLength()= 96, to 127.255.255.255 port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 01 ENTITY_STATE] packet.getLength()=144, to 172.28.143.255  port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 02 FIRE        ] packet.getLength()= 96, to 172.28.143.255  port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 01 ENTITY_STATE] packet.getLength()=144, to 172.20.159.255  port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 02 FIRE        ] packet.getLength()= 96, to 172.20.159.255  port 3000
===============
Create new PDUs
  latitude, longitude:   [36.595517, -121.877]
  coordinate conversion: [-2707492.9269245286, -4353663.899966802, 3781450.3202754413]
Espdu #4 entityID=[1,2,3]
FirePdu #4 firePdu=[FireMissionIndex=0, descriptor=MunitionDescriptor:
 munitionType: EntityType:
 entityKind: DisPduType 0 OTHER
 domain: Other
 country: Country 0 OTHER
 category: 0
 subCategory: 0
 specific: 0
 extra: 0

 warhead: MunitionDescriptorWarhead 0 OTHER
 fuse: MunitionDescriptorFuse 0 OTHER
 quantity: 0
 rate: 0
]
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 01 ENTITY_STATE] packet.getLength()=144, to 127.255.255.255 port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 02 FIRE        ] packet.getLength()= 96, to 127.255.255.255 port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 01 ENTITY_STATE] packet.getLength()=144, to 172.28.143.255  port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 02 FIRE        ] packet.getLength()= 96, to 172.28.143.255  port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 01 ENTITY_STATE] packet.getLength()=144, to 172.20.159.255  port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 02 FIRE        ] packet.getLength()= 96, to 172.20.159.255  port 3000
===============
Create new PDUs
  latitude, longitude:   [36.595517, -121.87706]
  coordinate conversion: [-2707497.4860692197, -4353661.0646844525, 3781450.3202754413]
Espdu #5 entityID=[1,2,3]
FirePdu #5 firePdu=[FireMissionIndex=0, descriptor=MunitionDescriptor:
 munitionType: EntityType:
 entityKind: DisPduType 0 OTHER
 domain: Other
 country: Country 0 OTHER
 category: 0
 subCategory: 0
 specific: 0
 extra: 0

 warhead: MunitionDescriptorWarhead 0 OTHER
 fuse: MunitionDescriptorFuse 0 OTHER
 quantity: 0
 rate: 0
]
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 01 ENTITY_STATE] packet.getLength()=144, to 127.255.255.255 port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 02 FIRE        ] packet.getLength()= 96, to 127.255.255.255 port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 01 ENTITY_STATE] packet.getLength()=144, to 172.28.143.255  port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 02 FIRE        ] packet.getLength()= 96, to 172.28.143.255  port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 01 ENTITY_STATE] packet.getLength()=144, to 172.20.159.255  port 3000
[OpenDis7Examples.EspduSender] sending datagram packet [DisPduType 02 FIRE        ] packet.getLength()= 96, to 172.20.159.255  port 3000
===============
[OpenDis7Examples.EspduSender] complete.
BUILD SUCCESSFUL (total time: 10 seconds)