diff --git a/src/edu/nps/moves/dis7/examples/EntityUse.java b/src/edu/nps/moves/dis7/examples/EntityUse.java index a1d166be3881489c61307be4bee1a661e573b0e8..9a58412362d585b9f45d47367a518db24d168dfb 100644 --- a/src/edu/nps/moves/dis7/examples/EntityUse.java +++ b/src/edu/nps/moves/dis7/examples/EntityUse.java @@ -86,14 +86,15 @@ public class EntityUse EntityStatePdu espdu = pduFactory.makeEntityStatePdu(); /* set desired entity state fields here */ - EntityType et = EntityTypeFactory.makeEntity(11963); - if(et == null) { - System.err.println("Missing USA SURFACE entity jar in classpath"); - return; - } - - espdu.setEntityType(et); + // TODO check +// EntityType et = EntityTypeFactory.makeEntity(11963); +// if(et == null) { +// System.err.println("Missing USA SURFACE entity jar in classpath"); +// return; +// } +// espdu.setEntityType(et); + System.out.println("Sending " + espdu.getClass().getSimpleName()); netif.send(espdu); // possibly throws IOException sleep(100L); @@ -105,8 +106,8 @@ public class EntityUse AD44Shenandoah entityType2 = new AD44Shenandoah(); // edu.nps.moves.dis7.entities.usa.platform.surface espdu.setEntityType(entityType2); + System.out.println("Sending " + espdu.getClass().getSimpleName()); netif.send(espdu); // possibly throws IOException - sleep(100L); // TODO remove? } private static void sleep(long ms) diff --git a/src/edu/nps/moves/dis7/examples/EntityUseLog.txt b/src/edu/nps/moves/dis7/examples/EntityUseLog.txt new file mode 100644 index 0000000000000000000000000000000000000000..d7b71fbc11a88380d48feaf79468ccd6ec8307c3 --- /dev/null +++ b/src/edu/nps/moves/dis7/examples/EntityUseLog.txt @@ -0,0 +1,83 @@ +ant -f C:\\x3d-github\\open-dis7-java -Dnb.internal.action.name=run.single -Djavac.includes=edu/nps/moves/dis7/examples/EspduReceiverNIO.java -Drun.class=edu.nps.moves.dis7.examples.EspduReceiverNIO run-single +init: +Deleting: C:\x3d-github\open-dis7-java\build\built-jar.properties +deps-jar: +Updating property file: C:\x3d-github\open-dis7-java\build\built-jar.properties +Compiling 1 source file to C:\x3d-github\open-dis7-java\build\classes +warning: [options] bootstrap class path not set in conjunction with -source 8 +1 warning +compile-single: +run-single: +Using network interface Intel(R) Dual Band Wireless-AC 8260 +1. got PDU of type: AcknowledgePdu +2. got PDU of type: AcknowledgeReliablePdu +3. got PDU of type: ActionRequestPdu +4. got PDU of type: ActionRequestReliablePdu +5. got PDU of type: ActionResponsePdu +6. got PDU of type: ActionResponseReliablePdu +7. got PDU of type: AggregateStatePdu +8. got PDU of type: AppearancePdu +9. got PDU of type: ArealObjectStatePdu +10. got PDU of type: ArticulatedPartsPdu +11. got PDU of type: AttributePdu +12. got PDU of type: CollisionElasticPdu +13. got PDU of type: CollisionPdu +14. got PDU of type: CommentPdu +15. got PDU of type: CommentReliablePdu +16. got PDU of type: CreateEntityPdu +17. got PDU of type: CreateEntityReliablePdu +18. got PDU of type: DataPdu +19. got PDU of type: DataQueryPdu +20. got PDU of type: DataQueryReliablePdu +21. got PDU of type: DataReliablePdu +22. got PDU of type: DesignatorPdu +23. got PDU of type: DetonationPdu +24. got PDU of type: DirectedEnergyFirePdu +25. got PDU of type: ElectromagneticEmissionPdu +26. got PDU of type: EntityDamageStatusPdu +27. got PDU of type: EntityStatePdu +28. got PDU of type: EntityStateUpdatePdu +29. got PDU of type: EnvironmentalProcessPdu +30. got PDU of type: EventReportPdu +31. got PDU of type: EventReportReliablePdu +32. got PDU of type: FirePdu +33. got PDU of type: GriddedDataPdu +34. got PDU of type: IFFPdu +35. got PDU of type: InformationOperationsActionPdu +36. got PDU of type: InformationOperationsReportPdu +37. got PDU of type: IntercomControlPdu +38. got PDU of type: IntercomSignalPdu +39. got PDU of type: IsGroupOfPdu +40. got PDU of type: IsPartOfPdu +41. got PDU of type: LinearObjectStatePdu +42. got PDU of type: LEDetonationPdu +43. got PDU of type: LEFirePdu +44. got PDU of type: MinefieldDataPdu +45. got PDU of type: MinefieldQueryPdu +46. got PDU of type: MinefieldResponseNACKPdu +47. got PDU of type: MinefieldStatePdu +48. got PDU of type: PointObjectStatePdu +49. got PDU of type: ReceiverPdu +50. got PDU of type: RecordQueryReliablePdu +51. got PDU of type: RecordReliablePdu +52. got PDU of type: RemoveEntityPdu +53. got PDU of type: RemoveEntityReliablePdu +54. got PDU of type: RepairCompletePdu +55. got PDU of type: RepairResponsePdu +56. got PDU of type: ResupplyCancelPdu +57. got PDU of type: ResupplyOfferPdu +58. got PDU of type: ResupplyReceivedPdu +59. got PDU of type: ServiceRequestPdu +60. got PDU of type: SetDataPdu +61. got PDU of type: SetDataReliablePdu +62. got PDU of type: SetRecordReliablePdu +63. got PDU of type: SignalPdu +64. got PDU of type: StartResumePdu +65. got PDU of type: StartResumeReliablePdu +66. got PDU of type: StopFreezePdu +67. got PDU of type: StopFreezeReliablePdu +68. got PDU of type: SEESPdu +69. got PDU of type: TSPIPdu +70. got PDU of type: TransferOwnershipPdu +71. got PDU of type: TransmitterPdu +72. got PDU of type: UnderwaterAcousticPdu