Angular movement when auto vmg is pressed is smoothed. #story[1196]

This commit is contained in:
Joseph Gardner
2017-09-08 15:34:22 +12:00
parent 8c7345a30d
commit df624a8437
4 changed files with 38 additions and 15 deletions
@@ -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);
}
}