mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-10 22:30:56 +00:00
added fix for mark passing maneuver position
This commit is contained in:
1 parent
01d8422025
commit
f1fc788b22
1 file changed
+2
-1
+2
-1
@@ -2206,9 +2206,10 @@ public abstract class TrackedRaceImpl extends TrackedRaceWithWindEssentials impl
|
||||
waypointPassed = legAfterManeuver.getLeg().getFrom();
|
||||
MarkPassing markPassing = getMarkPassing(competitor, waypointPassed);
|
||||
markPassingTimePoint = markPassing != null ? markPassing.getTimePoint() : maneuverTimePoint;
|
||||
Position markPassingPosition = markPassing != null ? competitorTrack.getEstimatedPosition(markPassingTimePoint, /* extrapolate */false) : maneuverPosition;
|
||||
sideToWhichWaypointWasPassed = courseChangedTo;
|
||||
// produce an additional mark passing maneuver; continue to analyze to catch jibe sets and kiwi drops
|
||||
result.add(new MarkPassingManeuverImpl(ManeuverType.MARK_PASSING, tackAfterManeuver, maneuverPosition,
|
||||
result.add(new MarkPassingManeuverImpl(ManeuverType.MARK_PASSING, tackAfterManeuver, markPassingPosition,
|
||||
markPassingTimePoint, speedWithBearingOnApproximationAtBeginning,
|
||||
speedWithBearingOnApproximationAtEnd, totalCourseChangeInDegrees, maneuverLoss, waypointPassed,
|
||||
sideToWhichWaypointWasPassed));
|
||||
|
||||
Reference in new issue
Block a user