From 73eeeb0ef9200b763f8fe53c98ed78852f2e0252 Mon Sep 17 00:00:00 2001 From: Michael Rausch Date: Thu, 18 May 2017 11:45:06 +1200 Subject: [PATCH] Removed extra print stmt and changed default server back to official --- src/main/java/seng302/App.java | 4 ++-- src/main/java/seng302/models/BoatGroup.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/seng302/App.java b/src/main/java/seng302/App.java index deb5656f..afcd3430 100644 --- a/src/main/java/seng302/App.java +++ b/src/main/java/seng302/App.java @@ -62,8 +62,8 @@ public class App extends Application { } //Change the StreamReceiver in this else block to change the default data source. else{ - sr = new StreamReceiver("localhost", 4949, "RaceStream"); -// sr = new StreamReceiver("livedata.americascup.com", 4941, "RaceStream"); + //sr = new StreamReceiver("localhost", 4949, "RaceStream"); + sr = new StreamReceiver("livedata.americascup.com", 4941, "RaceStream"); } sr.start(); diff --git a/src/main/java/seng302/models/BoatGroup.java b/src/main/java/seng302/models/BoatGroup.java index 8a1446d0..767ca893 100644 --- a/src/main/java/seng302/models/BoatGroup.java +++ b/src/main/java/seng302/models/BoatGroup.java @@ -272,7 +272,6 @@ public class BoatGroup extends RaceObject { calculateRotationalVelocity(); if (Math.abs(rotationalVelocity) > 0.075) { - System.out.println("rotationalVelocity = " + rotationalVelocity); rotationalVelocity = 0; rotateTo(rotationalGoal); wake.rotate(rotationalGoal);