mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Removed extra print stmt and changed default server back to official
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user