Commit Graph
214 Commits
Author SHA1 Message Date
Axel Uhl 557619696e starting to introduce polymorphism across RaceTracker for SwissTiming and TracTrac 2011-11-07 18:18:27 +01:00
Axel Uhl 5d1eeff627 Benjamin and Fabian: fixed bug in FormattedDoubleLegDetailColumn.getPercentage regarding NPE 2011-11-04 14:42:36 +01:00
Axel Uhl 1bbb316b65 Merge branch 'gwt' into up_down
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/LeaderboardPanel.java
2011-11-02 17:09:52 +01:00
D056866 75f7f05e83 Update for last commit (files were missing). 2011-11-02 15:21:37 +01:00
Axel Uhl f2adf4d3f5 added wind display for course-defined wind and always providing an estimation if requested,
for current time if no other wind fix exists
2011-10-28 17:00:52 +02:00
Axel Uhl 9e6d3f946c made competitor names editable per leaderboard; editings are maintained in MongoDB 2011-10-26 20:36:04 +02:00
Axel Uhl 2af78970a9 a first Douglas-Peucker implementation 2011-10-07 11:37:23 +02:00
Axel Uhl 2cd4fb082e added preferences files; removed generated files from git; added missing RaceAverageSpeedColumn.java 2011-10-05 23:51:26 +02:00
Axel Uhl 34e9ab62a0 removing / flushing all race data from DomainFactory for races for which a tracker is started
With this we can hope to be able to cleanly disconnect and reconnect to races so that really a
new set of RaceDefinition/TrackedRace objects is created.
2011-10-04 15:09:11 +02:00
Axel Uhl 747802d0d1 compilable but yet untested version that may accept multiple TracTrac Races per TracTrac Event 2011-10-04 14:26:41 +02:00
Axel Uhl f27814745d renamed get... and create... methods to getOrCreate... if they get or create ... 2011-10-04 12:35:11 +02:00
Axel Uhl 55e73237b1 fixed leaderboard scoring bug: medal race doesn't count for number of discardable races 2011-10-03 15:18:11 +02:00
Axel Uhl 8eb0e04a47 fixed calculation of VMG which so far projected wind onto boat direction instead of the other way around 2011-10-03 10:18:53 +02:00
Axel Uhl 5f54fa186d loosened synchronization to avoid deadlocks 2011-10-02 13:13:50 +02:00
Axel Uhl 909c01e5e1 added synchronization for gps fix adding and computing estimated speed 2011-10-02 12:10:32 +02:00
Axel Uhl 0e4d77596e fixed leg ranks for non-started legs, setting to 0 2011-10-02 10:54:39 +02:00
Axel Uhl f5871a3a00 consider untracked races for which we have score corrections for discarding 2011-10-02 09:06:18 +02:00
Axel Uhl 18329e6b5d fixed unlink button enablement; added TODO for severe bug 2011-10-02 04:44:28 +02:00
Axel Uhl ca5097ff90 also consider untracked races in leaderboard for result discarding 2011-10-02 04:27:29 +02:00
Axel Uhl 57528ca23e fixed endless recursion in new createRaceColumn method, probably only relevant in tests 2011-10-02 03:27:10 +02:00
Axel Uhl 09f122c88a fixed issue with RaceInLeaderboard identity by subclassing instead of using delegation;
The problems bit all over the place with the delegation pattern based on lack of identity / equality
with the delegates. Now I've changed the design such that LeaderboardImplWithDelayed... creates
subclassed RaceInLeaderboard instances consistently, avoiding any issues with wrappers not being
identical to their delegates.
2011-10-02 03:20:58 +02:00
Axel Uhl 77079015d4 fixed serious bugs regarding storage of score corrections/max points reasons
One problem was the proper escaping of + characters which during URLDecoder.decode were
replaced by space. Another issue was that when directly calling setTrackedRace on a
RaceInLeaderboard column, the left-overs were not properly assigned. I fixed this using
a delegate pattern with a wrapper around the RaceInLeaderboard objects returned from
the leaderboard with delayed score correction / max points data. This, however, led to
a follow-up problem when constructing the keys used for the score correction / max points
maps: the wrappers were neither identical nor equal to the delegate. I now delegate the
key construction to the RaceInLeaderboard instance which gives the wrapper a chance to
use its delegate in the key constructed.
2011-10-02 02:40:15 +02:00
Axel Uhl 4de848c120 fixed NPE in getMaxPoints 2011-10-01 19:25:11 +02:00
Axel Uhl 497a913d5a allow max points to be overridden 2011-10-01 19:08:07 +02:00
Axel Uhl 319f69e3ac use total number of competitors in leaderboard for max points calculation for untracked races 2011-10-01 19:04:10 +02:00
Axel Uhl 0604b3d381 distinguish tack/jibe thresholds for upwind/downwind; use constant 10s interval for maneuver detection 2011-09-29 18:31:00 +02:00
Axel Uhl ace383d953 added TODO for WindTrackImpl 2011-09-27 11:40:23 +02:00
Axel Uhl c3084c3674 enhanced warnings, warning of once-only warning output 2011-09-27 11:15:31 +02:00
Axel Uhl d249bfb373 warn only once per tracked race of problems with obtaining wind from the requested source 2011-09-27 11:13:36 +02:00
Axel Uhl 38f0c1d2fc fixed bug in result discarding implementation; now use the net points to sort before discarding 2011-09-26 21:05:34 +02:00
Axel Uhl 917a31bfaf added output to xcelsius services 2011-09-22 18:34:09 +02:00
Axel Uhl e3dae51ebf added sailID to Boat; reduced number of decimals for distance to 0 2011-09-22 10:12:51 +02:00
Axel Uhl c9d932f865 adjusted test case verdict for wind estimation after algorithms were fixed 2011-09-15 22:38:19 +02:00
Axel Uhl a9de554d6d fixed averaging bearings during estimating wind directions 2011-09-15 21:34:47 +02:00
Axel Uhl e1650f6d8b better clustering of bearings for wind estimation 2011-09-15 20:37:21 +02:00
Axel Uhl db52f22739 added missing Tack enumeration 2011-09-15 16:24:06 +02:00
Axel Uhl cadf618c07 added "tack" field to "showboatpositions" output, added corresponding doc to README 2011-09-15 10:05:32 +02:00
Axel Uhl ac9e388c87 added tack detection (are sails on port or starboard for a boat at a given time?) 2011-09-15 09:56:05 +02:00
Axel Uhl 8ea116411f added method to compute difference between bearings 2011-09-15 09:01:23 +02:00
Axel Uhl 8a4707ecf0 fixed NPEs for editable leaderboard in case a new untracked column is added 2011-09-14 18:17:37 +02:00
Axel Uhl f5804520df try to return corrected score even for untracked races; started a bit of user management logic
Additionally, generalized SailingGWT.launch by removing absolute path specifications
2011-09-14 16:10:50 +02:00
Axel Uhl f1edc793ac null values are now always sorted towards the bottom of the table 2011-09-13 23:09:23 +02:00
Axel Uhl 2b5d82795f fixed sorting of medal races 2011-08-31 10:50:46 +02:00
Axel Uhl b59fb2b067 updating score corrections now correctly updates the server 2011-08-31 00:08:14 +02:00
Axel Uhl a81cbc82ef LeaderboardEditing.html allows users to edit the carried points on the server 2011-08-30 21:35:56 +02:00
Axel Uhl 95f1d14e97 assume wind from front on first leg if nothing else known; added first building blocks for Leaderboard editing 2011-08-30 16:26:46 +02:00
Axel Uhl 4218b779fd use compacting fix subclass also for buoy tracks 2011-08-29 11:05:08 +02:00
Axel Uhl 3a01b3e769 provided a memory-conserving flattened, compact representation of a GPSFixMoving, use it in track 2011-08-28 23:07:26 +02:00
Axel Uhl 1f3c31fcc7 fixed bug in ArrayListNavigableSet when inserting at the end; added medal to medal race display 2011-08-27 01:54:13 +02:00
Axel Uhl ab4412c032 fixed ArrayListNavigableSet.addAll, added documentation to ArrayListNavigableSet 2011-08-27 01:02:38 +02:00