From d45e1465807872de0c957bee144694898d10a1aa Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Wed, 5 Sep 2018 10:25:55 -0700 Subject: [PATCH] show to to set values on ESPDU before sending; comments too --- CourseExamples/src/DisExamples/PduSender.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CourseExamples/src/DisExamples/PduSender.java b/CourseExamples/src/DisExamples/PduSender.java index 57dd42c122..2211d334bc 100644 --- a/CourseExamples/src/DisExamples/PduSender.java +++ b/CourseExamples/src/DisExamples/PduSender.java @@ -59,13 +59,14 @@ public class PduSender aPdu = new EntityStatePdu(); EntityStatePdu espdu = (EntityStatePdu) aPdu; Marking marking = new Marking (); - marking.setCharactersString("PduSender"); + marking.setCharactersString("PduSender"); // 11 characters max espdu.setMarking(marking); Vector3Double espduLocation = new Vector3Double(); espduLocation.setX(1.0); espduLocation.setY(2.0); espduLocation.setZ(3.0); espdu.setEntityLocation(espduLocation); + // it is important to identify questions as you think of them // TODO how to set azimuth, i.e. course direction over ground? break; -- GitLab