Skip to content
Snippets Groups Projects
Commit d45e1465 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

show to to set values on ESPDU before sending; comments too

parent ad43a361
No related branches found
No related tags found
No related merge requests found
...@@ -59,13 +59,14 @@ public class PduSender ...@@ -59,13 +59,14 @@ public class PduSender
aPdu = new EntityStatePdu(); aPdu = new EntityStatePdu();
EntityStatePdu espdu = (EntityStatePdu) aPdu; EntityStatePdu espdu = (EntityStatePdu) aPdu;
Marking marking = new Marking (); Marking marking = new Marking ();
marking.setCharactersString("PduSender"); marking.setCharactersString("PduSender"); // 11 characters max
espdu.setMarking(marking); espdu.setMarking(marking);
Vector3Double espduLocation = new Vector3Double(); Vector3Double espduLocation = new Vector3Double();
espduLocation.setX(1.0); espduLocation.setX(1.0);
espduLocation.setY(2.0); espduLocation.setY(2.0);
espduLocation.setZ(3.0); espduLocation.setZ(3.0);
espdu.setEntityLocation(espduLocation); 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? // TODO how to set azimuth, i.e. course direction over ground?
break; break;
......
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