Skip to content
Snippets Groups Projects
Commit a5b9a919 authored by brutzman's avatar brutzman
Browse files

report when done; TODO note library bug

parent 9c74b426
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ import java.util.*;
import edu.nps.moves.dis7.*;
import edu.nps.moves.dis7.util.*;
import edu.nps.moves.disenum.PduType;
/**
* Receives PDUs from the network in IEEE DIS format.
......@@ -67,6 +68,8 @@ public class EspduReceiver
Vector3Double position = ((EntityStatePdu)aPdu).getEntityLocation();
System.out.println(" ID triplet: [" + eid.getSiteID()+ ", " + eid.getApplicationID()+ ", " + eid.getEntityID()+ "] ");
System.out.println(" Location in DIS coordinates: [" + position.getX() + ", " + position.getY() + ", " + position.getZ() + "]");
// TODO fix library!
System.out.println("** TODO error, 'PDU not implemented' is a library bug");
}
} // end iterator loop through PDU bundle
} // end while
......@@ -76,5 +79,6 @@ public class EspduReceiver
System.out.println("Problem with DisExamplesOpenDis7.EspduReceiver, see exception trace:");
System.out.println(e);
}
System.out.println("DisExamplesOpenDis7.EspduReceiver complete.");
} // end main
} // end class
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