Commit Graph
192 Commits
Author SHA1 Message Date
Axel Uhl da77b6def9 set receivedEventDuringTimeout when event is enqueued, not when it's taken from queue 2011-12-18 00:37:46 +01:00
Axel Uhl 0f2649e0ef yet improved logging 2011-12-18 00:25:41 +01:00
Axel Uhl 8435a77e96 improved logging 2011-12-18 00:20:55 +01:00
Axel Uhl 33102070c0 for test cases, give TracTrac receivers a timeout instead of preemptively stopping them as more events arrive 2011-12-16 11:15:29 +01:00
Axel Uhl 5faea262cd updated Javadocs that talk about lack of synchronization between master and tracking data 2011-12-13 23:03:22 +01:00
Axel Uhl 5a9ef811b5 refactored TracTracRaceTrackerImpl such that it doesn't update TrackedRaces no longer part of the (Tracked)Event 2011-12-13 16:25:16 +01:00
Axel Uhl d970be5348 more fixes regarding race removal and leaderboard configuration 2011-12-09 13:00:15 +01:00
fmittag 6ef85a92ef moved org.json.simple from bundle project to target-base 2011-12-08 15:42:43 +01:00
Axel Uhl 32cc72e7dd fixed Bug 58: turned RaceHandle into RacesHandle and adjusted getRace(...) to getRaces(...) accordingly 2011-12-03 11:11:12 +01:00
Axel Uhl ee8e750957 moved boat class cache and creation to base domain factory 2011-12-01 18:00:35 +01:00
Axel Uhl a372fa9b12 pulled createMarkPassing into base domain factory 2011-12-01 16:13:01 +01:00
Axel Uhl dacf7a7197 factored course update functionality into Course / CourseImpl 2011-12-01 15:49:24 +01:00
Axel Uhl ef3c013f77 move common functionality from tracking provider-specific domain factories to base domain factory 2011-12-01 14:26:05 +01:00
Axel Uhl d620a33753 use only one getManeuvers() call to fill leg entry 2011-11-30 21:25:31 +01:00
Axel Uhl 3764f06c74 added leg detail column for number of maneuvers; added race detail column for number of manuevers 2011-11-30 11:17:54 +01:00
Axel Uhl 80c75c031d use boat class's approximate maneuver duration as time over which to average speed 2011-11-30 00:09:23 +01:00
Axel Uhl e945d39eb6 renamed DynamicTrack to DynamicGPSFixTrack because it only tracks GPSFixes 2011-11-25 12:59:11 +01:00
Axel Uhl 9699896de3 clean up SwissTiming Event/Race/TrackedEvent/TrackedRace after stopping tracking it;
this may need to be adjusted once we add BoatClass support and hence group several
races in one Event object
2011-11-21 23:06:41 +01:00
Axel Uhl 4c96d2e23c factored out the common stop() functionality of RaceTrackers 2011-11-21 21:30:28 +01:00
Axel Uhl b38242f251 more robust exception handling within SailMasterConnectorImpl, catching exceptions caused by handlers 2011-11-15 13:10:06 +01:00
Axel Uhl 93ccfe55d6 refactored: moved functionality for TrackedRace creation including constants for default averaging times 2011-11-14 22:37:06 +01:00
Axel Uhl e4ad871221 removed no longer necessary comment 2011-11-14 22:01:12 +01:00
Axel Uhl 00b2749202 refactored to get rid of the "token" approach for updating / retrieving RaceDefinitions from tracker 2011-11-14 21:55:31 +01:00
Axel Uhl ef4547357f Moved top-level cache for TrackedEvent from TracTrac-specific DomainFactory to RacingEventService;
introduced a TrackedEventRegistry interface in com.sap.sailing.domain that is now extended by
RacingEventService as well as a dummy implementation for use by tests
2011-11-14 17:00:17 +01:00
Axel Uhl 34b3d6bb7a reformatting 2011-11-14 16:43:13 +01:00
fmittag e4ec273724 remove m2e nature from all .project files 2011-11-09 22:06:14 +01:00
Axel Uhl 557619696e starting to introduce polymorphism across RaceTracker for SwissTiming and TracTrac 2011-11-07 18:18:27 +01: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 03a4170099 fixed test now that removeRace may remove the domain event so that a new one is created the next time 2011-10-04 22:46:44 +02:00
Axel Uhl db799b51e3 fixed a few more things regarding multi-race in a single event; fixed disconnect/reconnect problem 2011-10-04 21:35:05 +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 765986439d renamed waiting methods to getAndWait... 2011-10-04 12:37:05 +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 129fde3071 minor refactoring for obtaining competitors and boat classes from a TracTrac race.
Background: we need to be better able to digest a change in a race's competitor list.
This has to go hand in hand with a re-think of the object life cycle for connecting
to the tracking infrastructure.
2011-10-04 11:23:44 +02:00
Axel Uhl b2c9101060 fixed bug in new timeout handling for getRaceDefinition in DomainFactoryImpl 2011-09-27 10:41:41 +02:00
Axel Uhl 0c5b986ea3 allow setwind call in admin app to omit eventname/racename parameter; prepare asynchronous startWindTracking 2011-09-27 10:35:25 +02:00
Axel Uhl 3090557225 trying to schedule a future that cleanly untracks a race if it doesn't show up 2011-09-27 09:38:57 +02:00
Axel Uhl e964d1ea1b parse live/stored URI from paramURL content 2011-09-23 15:51:38 +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 bc049b8b7b first half-way working leaderboard with flags and such 2011-08-05 16:18:07 +02:00
Axel Uhl 411dd60568 fixed code to download all Kiel Week GPS tracks 2011-08-02 10:55:30 +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 f6b6b7949b started working on maneuver detection in tracks and wind inferral from manuevers 2011-07-21 01:48:59 +02:00
Axel Uhl f22c6fda80 prepared track for distinguishing between raw and smoothened fixes 2011-07-14 17:52:09 +02:00
Axel Uhl e6a85dc3e6 relaxed synchronization where possible; wait for RaceDefinition via RaceHandle before adding wind tracker 2011-07-08 00:21:15 +02:00
Axel Uhl 630ee66292 load/store previous configurations to/from Mongo 2011-07-05 18:03:30 +02:00
Axel Uhl 349d39c997 added "list races" capability including result table sorting 2011-07-05 15:07:57 +02:00
Axel Uhl a00ed444ad event's dominant boat class is not determined by the dominant boat class of the event (if there
are only two, none is dominant) but by the event's competitors' dominant boat class
2011-06-24 18:42:11 +02:00
Axel Uhl 07bded4764 record all boats, also if their boat class doesn't match 2011-06-24 18:32:07 +02:00