Removed extra print stmt and changed default server back to official

This commit is contained in:
Michael Rausch
2017-05-18 11:45:06 +12:00
parent 45db731a60
commit 73eeeb0ef9
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -62,8 +62,8 @@ public class App extends Application {
} }
//Change the StreamReceiver in this else block to change the default data source. //Change the StreamReceiver in this else block to change the default data source.
else{ else{
sr = new StreamReceiver("localhost", 4949, "RaceStream"); //sr = new StreamReceiver("localhost", 4949, "RaceStream");
// sr = new StreamReceiver("livedata.americascup.com", 4941, "RaceStream"); sr = new StreamReceiver("livedata.americascup.com", 4941, "RaceStream");
} }
sr.start(); sr.start();
@@ -272,7 +272,6 @@ public class BoatGroup extends RaceObject {
calculateRotationalVelocity(); calculateRotationalVelocity();
if (Math.abs(rotationalVelocity) > 0.075) { if (Math.abs(rotationalVelocity) > 0.075) {
System.out.println("rotationalVelocity = " + rotationalVelocity);
rotationalVelocity = 0; rotationalVelocity = 0;
rotateTo(rotationalGoal); rotateTo(rotationalGoal);
wake.rotate(rotationalGoal); wake.rotate(rotationalGoal);