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

show to to set values on ESPDU before sending

parent 0c92e23a
No related branches found
No related tags found
No related merge requests found
......@@ -57,6 +57,16 @@ public class PduSender
{
case ENTITY_STATE:
aPdu = new EntityStatePdu();
EntityStatePdu espdu = (EntityStatePdu) aPdu;
Marking marking = new Marking ();
marking.setCharactersString("PduSender");
espdu.setMarking(marking);
Vector3Double espduLocation = new Vector3Double();
espduLocation.setX(1.0);
espduLocation.setY(2.0);
espduLocation.setZ(3.0);
espdu.setEntityLocation(espduLocation);
// TODO how to set azimuth, i.e. course direction over ground?
break;
case COMMENT:
......
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