Angular movement when auto vmg is pressed is smoothed. #story[1196]
This commit is contained in:
@@ -68,6 +68,7 @@ public class TackGybeCommand extends ObserverCommand {
|
||||
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