Commit Graph
254 Commits
Author SHA1 Message Date
Axel Uhl 1519624299 double the total points for a medal race 2011-08-17 21:26:25 +02:00
Axel Uhl 02ef945864 fixed tests for leaderboard again; yet missing: doubling of medal race score 2011-08-17 20:55:37 +02:00
Axel Uhl 2830b2cede changed Leaderboard API from TrackedRace to RaceInLeaderboard consistently 2011-08-17 16:57:22 +02:00
Axel Uhl 55a6557615 removed getTrackedRaces() from Leaderboard as it's only needed in LeaderboardImpl for now;
will try to replace the concept in the Leaderboard API by RaceInLeaderboard
2011-08-17 14:51:46 +02:00
Axel Uhl a26217bbd2 preparing for medal race support in leaderboard 2011-08-17 14:46:35 +02:00
Axel Uhl bc049b8b7b first half-way working leaderboard with flags and such 2011-08-05 16:18:07 +02:00
Axel Uhl 61791b18b5 prepared SailingService to emit leaderboard information 2011-08-04 16:21:26 +02:00
Axel Uhl d8f3d543cc added missing classes for leaderboard refactoring 2011-08-04 14:51:20 +02:00
Axel Uhl 8283446d88 added simple test procedures for adding carry scores in leaderboard 2011-08-04 14:37:08 +02:00
Axel Uhl 56106da592 fixed leaderboard test case which has to use distinct names for the race columns 2011-08-04 14:18:25 +02:00
Axel Uhl 4130ab26ab introduced carry-over of points into leaderboard; don't request raw positions for leaderboard tests 2011-08-04 10:23:10 +02:00
Axel Uhl baef08979e added setName on LeaderboardImpl 2011-08-04 09:35:18 +02:00
Axel Uhl d0ab29f8d9 made Leaderboard renamable; create a default leaderboard in RacingEventService 2011-08-03 13:16:08 +02:00
Axel Uhl 2355a05a4a fixed Pair import; adjusted tests to also use new Leaderboard global getters 2011-08-03 00:33:25 +02:00
Axel Uhl 64a152792b added missing SettableScoreCorrection interface; made Leaderboard extend Named 2011-08-02 16:22:25 +02:00
Axel Uhl ed439289e0 added a live leaderboard test based on Kiel Week 505 race data; refactored domainFactory setup for tests 2011-08-02 15:20:09 +02:00
Axel Uhl cd8ca16f68 fixed wind estimation for cases where not all clusters are filled with data 2011-08-01 15:52:05 +02:00
Axel Uhl 3b7f021a6f fixed bug regarding speed estimation (too many fixes after selected time point were used)
Will need to add a test case for this.
A first meaningful test case for wind estimation works based on the live 505 Race 2 data.
2011-08-01 15:28:03 +02:00
Axel Uhl be6697850c added AbstractScoreCorrection to prepare for Mongo-based score corrections 2011-07-29 17:07:00 +02:00
Axel Uhl 70ac978a21 added more tests regarding result discarding 2011-07-29 16:12:40 +02:00
Axel Uhl 36c09e7663 fixed bug in discarding rule implementation 2011-07-29 16:00:27 +02:00
Axel Uhl 0282c6a8c8 added Leaderboard interface with first little test cases
Also, streamlined pom.xml files
2011-07-29 15:36:49 +02:00
Axel Uhl 45b46f3209 added a first Leaderboard interface version 2011-07-28 17:12:25 +02:00
Axel Uhl f0a0f4ddff first test case about estimating wind directions from tracks; doesn't really do much,
and results are not yet meaningful because currently we're not getting mark passing
events for the Kiel Week tracks and therefore don't know which boats are going upwind
and which ones are going downwind.
2011-07-28 13:28:10 +02:00
Axel Uhl 1dc9f89e70 wrote up a few TODOs regarding preparing for a second tracking adapter; added missing BearingCluster class 2011-07-22 10:42:17 +02:00
Axel Uhl 98d38e87b7 started with an algorithm to infer wind direction from tacking/jibing angles 2011-07-22 08:32:12 +02:00
Axel Uhl f6b6b7949b started working on maneuver detection in tracks and wind inferral from manuevers 2011-07-21 01:48:59 +02:00
Axel Uhl b25042929d more NPE handling in case time slider hasn't been initialized; use smoothened fixes for boat tails 2011-07-16 02:20:52 +02:00
Axel Uhl 9669ed7908 synchronize on CourseImpl when fetching its legs 2011-07-15 13:14:45 +02:00
Axel Uhl d3f461dc64 use raw variants for testing because test tracks don't use realistic speeds
It may be better to use the real (smoothened) versions of the APIs but configure the
track to use a very large threshold for these test cases so that no fix is eliminated.
2011-07-14 23:28:29 +02:00
Axel Uhl 1cbd97563a first rough GPS fix smoothening algorithm with a few tests in place
If one fix left and right has a computed speed of more than a threshold (currently
50 knots) that seems likely for the boat classes we're talking about, the fix is
removed from the smoothened view of the track.

The threshold obviously needs to become parameterizable. The subclass for
fixes that know their speed should refine this to take into account the speeds
as announced by the fixes themselves.
2011-07-14 23:17:02 +02:00
Axel Uhl e796513e9a added PartialNavigableSetView and a few first trivial tests 2011-07-14 21:52:23 +02:00
Axel Uhl fefe4edf94 further prepared smoothening by introducing getInternalFixes as the "smoothener" and having
all other smoothening APIs rely on it
2011-07-14 18:16:55 +02:00
Axel Uhl f22c6fda80 prepared track for distinguishing between raw and smoothened fixes 2011-07-14 17:52:09 +02:00
Axel Uhl cc1a24dae7 moved max speed over ground computation to Track implementation 2011-07-13 11:35:49 +02:00
Axel Uhl 7094771f13 okay-looking map with selection support 2011-07-11 18:54:02 +02:00
Axel Uhl 76bc3fec58 added first map display capabilities, but nothing works yet 2011-07-11 11:47:01 +02:00
Axel Uhl da821709f6 added manual wind capturing facility 2011-07-07 17:48:35 +02:00
Axel Uhl b635cd4fa4 refactored wind tracker creation, starting, stopping, registration, unregistration
Preparing for the possibility of other wind receivers, trying to keep the services and
their APIs independent of the receiving path leading via Expedition, UDP and such.
Introduced the new bundle/system property expedition.udp.port which is now used to
determine the port on which the expedition receivers listen for inbound wind data
2011-07-07 13:41:52 +02:00
Axel Uhl 349d39c997 added "list races" capability including result table sorting 2011-07-05 15:07:57 +02:00
Axel Uhl 81bc0159e3 added more synchronization to keep race stable as sorting for ranks is going on 2011-06-26 13:59:40 +02:00
Axel Uhl 81a94495d8 more synchronization when mark passings arrive; signal mark passings only when all of them for one
competitor have been recorded
2011-06-24 17:33:20 +02:00
Axel Uhl 1d9ef4d9f3 fixed ordering of competitors if one is already in next leg 2011-06-22 11:55:21 +02:00
Axel Uhl 32fe00cda6 try to avoid NoWindException by comparing two TrackedLegOfCompetitorImpl as equal if both haven't
yet started the leg
2011-06-21 16:25:41 +02:00
Axel Uhl 4468e905d6 made safe for empty wind tracks 2011-06-21 13:15:58 +02:00
Axel Uhl b5390899d3 fixed wind calculation for sparse wind tracks 2011-06-21 02:41:54 +02:00
Axel Uhl 4bcac1424b regularly poll paramURL to see if new control points with static positions got added 2011-06-21 01:42:36 +02:00
Axel Uhl 50acccd118 avoid NoWindException if alternative wind source holds wind data; log a warning in this case 2011-06-21 00:19:09 +02:00
Axel Uhl 98ba107a3d fixed event naming uniqueness by adding boat class name 2011-06-19 16:57:42 +02:00
Axel Uhl d29669dbfa key mark passings not simply by first waypoint that has the right control point but check against
previous mark passings and use first waypoint that has the control point just passed and hasn't been
passed by the competitor so far
2011-06-19 13:28:42 +02:00