Started merging received packets from the sample stream and reading lats and lons to move boats from them.

#story[820]
This commit is contained in:
Kusal Ekanayake
2017-04-26 15:51:15 +12:00
parent a3ae015be8
commit c73bf7dd3e
7 changed files with 29 additions and 11 deletions
@@ -159,6 +159,8 @@ public class CanvasController {
leftToRight = nextMark.getX() < boatGroup.getLayoutX();
boatGroup.updatePosition(1000 / 60);
// Point2D p = latLonToXY(lat, lon);
// boatGroup.setDestination(p.getX(), p.getY());
if (descending && nextMark.getY() < boatGroup.getLayoutY()) {
currentRaceMarker[boatIndex]++;
boatGroup.setDestination(