Frederik Petersen
c2cc1f53ff
Fixed race log tracking gpsfix import
...
confirmed working with SCGN regatta
this commit probably breaks compatibility for imports between servers on
new and older commit
2015-05-07 11:11:57 +02:00
Axel Uhl
ed2a106253
added some comments, preparing for using regatta log for overriding competitor handicap definitions
2015-05-07 10:06:23 +02:00
Axel Uhl
26d178b3d9
added time-on-time and time-on-distance fields and listener pattern on Competitor/DynamicCompetitor
2015-05-07 09:56:16 +02:00
Frederik Petersen
8fece8f5ca
Merge branch 'master' into bug2659
2015-05-07 09:51:37 +02:00
Axel Uhl
ece7378c4f
Merge branch 'master' into bug1018
2015-05-07 09:26:04 +02:00
fmittag
ce6c497b69
fixed adjustEventToRegattaAssociation() in RegattaImpl
2015-05-06 19:03:37 +02:00
Axel Uhl
181e5ee5b9
Merge branch 'master' into ubilabs--tracking_app--develop
2015-05-04 23:14:52 +02:00
Alexander Ries
8216ed0277
corrected constant name and added comments to null/boolean parameters in RaceExecutionOrderCache methods
2015-05-04 16:05:51 +02:00
Alexander Ries
8fe7bb8137
small changes to readObject() Method in RaceExecutionOrderCache
2015-05-04 13:24:27 +02:00
Alexander Ries
0be730b876
made RaceExecutionOrderCache in TrackedRegattaImpl transient
2015-05-02 00:36:38 +02:00
Alexander Ries
bcde857ccb
declared SmartFutureCache in RaceExecutionOrderCache as transient and added readObjet Method
2015-05-01 22:46:32 +02:00
Alexander Ries
ccae5416cf
recordWind(...) in DynamicTrackedRaceImpl adds now wind 30 min before race start if previous race is null, has ended or has no wind
2015-05-01 15:13:20 +02:00
Alexander Ries
7ee0ad76fa
Added inner RacesExecutionOrderCache class to TrackedRegatta and getPreviousRaceInExecutionOrder(...) Method
2015-05-01 15:10:15 +02:00
Axel Uhl
a3d2fe771d
Merge branch 'master' into bug1018
2015-05-01 13:33:13 +02:00
Frederik Petersen
09ccadddc1
Fixes of existing tracked races loaded into polarservice on redeploy
2015-05-01 10:28:59 +02:00
Axel Uhl
394fa09cba
Merge branch 'master' into bug1018
2015-04-30 20:07:18 +02:00
Frederik Petersen
3b3fa0bbd2
Merge branch 'master' into bug2659
2015-04-30 16:11:39 +02:00
Frederik Petersen
8b05c45f7d
Fixed severe bug in polar data mining pipeline
...
in production these errors would have been logged without having a
significant negative impact on the system. In dev mode the threads were
suspended, because of the error and the executor would have created new
ones crashing the IDE.
2015-04-30 16:09:23 +02:00
Frederik Petersen
1cb580c589
Merge branch 'master' into bug2659
2015-04-30 13:37:40 +02:00
Frederik Petersen
a3dba5041b
GPSFixes of GPSFixStore are now imported during master data import
...
should fix bug 2659
2015-04-30 13:34:38 +02:00
Axel Uhl
cfb1d6673b
Merge branch 'master' into bug1018
2015-04-30 00:51:33 +02:00
Axel Uhl
c0794b3a69
Merge remote-tracking branch 'server/master'
2015-04-30 00:50:50 +02:00
Axel Uhl
10c7da6e36
Merge branch 'master' into bug1018
2015-04-30 00:47:46 +02:00
Axel Uhl
c78fc9d4e8
fixing bug 2780 by adding flag URI change handling to listener interface and CompetitorImpl setter implementation; leaderboard cache handling updated
2015-04-29 23:23:39 +02:00
Axel Uhl
ff8adf4c84
started with allowances for competitors wherever they are on the course
2015-04-29 11:22:22 +02:00
Alexander Ries
c893e09455
solved merge conflict in LocationPointerAngleDistance import for Position
2015-04-29 10:29:51 +02:00
Frederik Petersen
3a07b209b8
New polars maneuver api uses ManeuverType rather than LegType
...
also finished the refactoring in TrackedRaceImpl that I abandoned midway
without knowing...
2015-04-29 09:50:33 +02:00
Axel Uhl
4d7a3960d7
started to work on ORC Performance Curve implementation
2015-04-29 00:26:25 +02:00
Axel Uhl
d56c3aced6
fixed the other test cases as well; start fixes were missing, resulting in VMG=0
2015-04-28 22:39:14 +02:00
Axel Uhl
aaf6082563
fixed two out of four tests
2015-04-28 21:50:52 +02:00
Axel Uhl
1ee54ef6b1
changed race and leg ranking to predicted corrected arrival time at position of fastest boat; tests still fail; IllegalArgumentExceptions occur
2015-04-28 18:19:27 +02:00
Axel Uhl
9b8fab1d3a
changed getTimeToImprove and replaced by getGapToLeaderinOwnTime
2015-04-28 14:47:03 +02:00
Axel Uhl
df2510c0d4
implemented getGapToLeaderInOwnTime
2015-04-28 14:37:36 +02:00
Axel Uhl
9e22662c07
added a comparator by the corrected estimated time to reach the fastest boat's current position;
...
the corrected total time after which a competitor is estimated to arrive at the fastest boat's current
position can be used for a total ordering consistent ranking; gaps in each competitor's own time
can be inferred from this; see bug1018 comment #31
2015-04-28 14:12:55 +02:00
Bennet Brunsen
ff1b0c6f87
Merge branch 'master' into ubilabs--tracking_app--develop
2015-04-28 13:47:56 +02:00
Axel Uhl
0f7a9a23af
removed a few more unnecessary "throw NoWindException" cases; eliminated corresponding try/catch where possible
2015-04-28 08:39:23 +02:00
Axel Uhl
14e9323763
added the overall ranking method that compares by estimated corrected times for reaching the boat that travled farthest so far
2015-04-28 01:17:26 +02:00
Axel Uhl
71c79818d3
added exceptions in case methods to project a competitor forward would need to project it backwards instead
2015-04-28 00:56:08 +02:00
Axel Uhl
aced04e1af
added an implementation of getDurationToReachAtEqualPerformance for time-on-time/time-on-distance;
...
this is the basis needed to estimate the total windward distance and duration that one competitor needs
to reach the windward position of another competitor that position-wise (but not necessarily corrected-time-wise)
is ahead.
2015-04-28 00:34:11 +02:00
Axel Uhl
6cb84f3782
refactored TrackedLegOfCompetitor.getEstimatedTimeToNextMarkInSeconds to return Duration; prepared methods in AbstractRankingMetric for new calculations
2015-04-27 22:01:11 +02:00
Axel Uhl
5fcb99964e
Merge branch 'master' into bug1018
...
Conflicts:
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/mock/MockedTrackedRace.java
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/mock/MockedTrackedRaceWithStartTimeAndRanks.java
java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/TrackedRace.java
java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/TrackedRaceImpl.java
java/com.sap.sailing.gwt.ui.test/src/com/sap/sailing/gwt/ui/test/MockedTrackedRace.java
java/com.sap.sailing.server/src/com/sap/sailing/server/masterdata/DummyTrackedRace.java
2015-04-27 10:26:45 +02:00
Axel Uhl
b81824d37d
ensure that RankingMetric constructor function is serializable
2015-04-25 13:24:42 +02:00
Frederik Petersen
ca2ac594f5
Merge branch 'master' into bug2700
...
Conflicts:
java/com.sap.sailing.server/META-INF/MANIFEST.MF
java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
java/com.sap.sailing.simulator/src/com/sap/sailing/simulator/impl/PolarDiagramGPSDirect.java
2015-04-24 18:41:37 +02:00
Axel Uhl
37eb4ddabf
factored the RankingMetric constructor parameter into the Regatta interface from where it is used by the DynamicTrackedRace constructions
2015-04-24 15:54:13 +02:00
Axel Uhl
4ffdf82b20
removed DynamicTrackedRaceConstructor that takes no RankingMetric argument
2015-04-24 14:44:10 +02:00
Axel Uhl
433458ea19
added implementation of getLegRankingComaprator for TimeOnTimeAndTDistanceRankingMetric
2015-04-24 14:37:48 +02:00
Axel Uhl
d18401242c
refactored TrackedLegOfCompetitorImpl to use getMarkPassingForLegStart/End
2015-04-24 14:18:26 +02:00
Axel Uhl
05a0cd94d9
don't return null for a competitor leg's time sailed when asking for beyond the end of tracking
2015-04-24 13:47:50 +02:00
Axel Uhl
85b20d1a06
Merge branch 'master' into bug1018
2015-04-24 09:09:51 +02:00
Axel Uhl
c2db032c7b
Merge branch 'master' into ubilabs--tracking_app--develop
2015-04-23 23:42:07 +02:00