mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-02 18:33:54 +00:00
wind was obviously specified as the "from" direction
This commit is contained in:
1 parent
717b2dcf56
commit
a88fdd267e
1 file changed
+1
-1
+1
-1
@@ -270,7 +270,7 @@ public class SwissTimingReplayToDomainAdapter extends SwissTimingReplayAdapter {
|
||||
currentCourseDefinition.set(index, controlPoint);
|
||||
if (windSpeedInKnots != -1 && trueWindDirectionInDegrees != -1) {
|
||||
SpeedWithBearing windSpeedWithBearing = new KnotSpeedWithBearingImpl(windSpeedInKnots,
|
||||
new DegreeBearingImpl(trueWindDirectionInDegrees));
|
||||
new DegreeBearingImpl(trueWindDirectionInDegrees).reverse());
|
||||
windAtControlPoint.put(controlPoint, windSpeedWithBearing);
|
||||
} else {
|
||||
windAtControlPoint.remove(controlPoint);
|
||||
|
||||
Reference in new issue
Block a user