Removed remaining println statements
This commit is contained in:
@@ -43,8 +43,6 @@ public class SailsCommand extends ObserverCommand {
|
||||
// Apply deceleration to strictly 0 speed
|
||||
boat.setCurrentSpeed(Math.max(0, boat.getCurrentSpeed() - acceleration));
|
||||
} else {
|
||||
System.out.println(goalVelocity + " " + boat.getCurrentSpeed());
|
||||
|
||||
// Release boat from SailsCommand control
|
||||
if(sailsOut) boat.setVelocityDefault(true);
|
||||
race.deleteObserver(this);
|
||||
|
||||
@@ -68,7 +68,6 @@ public class TackGybeCommand extends ObserverCommand {
|
||||
boat.setBearing(Bearing.fromDegrees(boat.getBearing().degrees() + offset * direction));
|
||||
totalRotation += offset;
|
||||
} else {
|
||||
System.out.println(goalAngle + " " + boat.getBearing().degrees());
|
||||
boat.setBearing(Bearing.fromDegrees(goalAngle));
|
||||
race.deleteObserver(this);
|
||||
}
|
||||
|
||||
@@ -63,7 +63,6 @@ public class VMGCommand extends ObserverCommand {
|
||||
boat.setBearing(Bearing.fromDegrees(boat.getBearing().degrees() + offset * direction));
|
||||
totalRotation += offset;
|
||||
} else {
|
||||
System.out.println(goalAngle + " " + boat.getBearing().degrees());
|
||||
boat.setBearing(Bearing.fromDegrees(goalAngle));
|
||||
race.deleteObserver(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user