Commit Graph
167 Commits
Author SHA1 Message Date
Axel Uhl 1e01668a69 work towards a TracTrac simulator 2012-06-18 20:29:51 +02:00
Axel Uhl ac854bb314 parse KiWo score correction date using 0-23 times 2012-06-18 19:32:32 +02:00
Axel Uhl afe7746d71 pass through a "simulation" parameter for the TracTrac tracker; doesn't do anything yet 2012-06-18 18:20:36 +02:00
Axel Uhl ba6a2c7da0 fixing bug 773: waiting only for some time for the RaceDefinition; if wrong regatta, tracker stops 2012-06-16 21:58:05 +02:00
Axel Uhl 29071e60d3 added boat class names to RaceRecord(DTO) and show in TracTracEventManagementPanel 2012-06-14 11:59:34 +02:00
Axel Uhl 394362230a fixed bug 739 by using trackedRegatta.getRegatta() instead of getOrCreateDefaultRegatta on TracTrac DomainFactory 2012-06-10 22:24:01 +02:00
fmittag 159b8c3536 Merge remote-tracking branch 'origin/master' 2012-06-08 16:33:53 +02:00
fmittag b514140864 ensured that a tracked race is not created and added to a regatta when the boat classes are not equal 2012-06-08 16:33:40 +02:00
Axel Uhl 88e126374c drop only those DBs whose names we have in CollectionNames 2012-06-08 16:02:37 +02:00
Axel Uhl 3208a21d1b whenever a RaceDefinition is added to a persistent Regatta owned by RacingEventService, record persistently 2012-06-06 23:03:20 +02:00
Axel Uhl 32427f3a2d addressing bug 733: looking up a Regatta by raceID first in RacingEventService before using a default regatta 2012-06-06 22:43:14 +02:00
Axel Uhl 4ae412f4b8 minor rename 2012-06-06 21:53:09 +02:00
Axel Uhl b090e11b5e added persistence for raceID-to-Regatta associations in RacingEventServiceImpl 2012-06-06 20:55:12 +02:00
Axel Uhl 2d7815978b added TrackedRegattaRegistry as argument to SeriesImpl constructor and refactored all usages accordingly 2012-06-05 16:31:57 +02:00
Axel Uhl bb48b4a227 moved knowledge about which boat classes may not always start upwind to base domain factory 2012-06-05 10:45:21 +02:00
Axel Uhl 4a212faa2e fetch live delay from TracTrac when available 2012-05-25 11:50:44 +02:00
Axel Uhl f1e4d7526b as a fall-back, obtain start/stop tracking times during polling paramURL for race 2012-05-24 22:32:17 +02:00
fmittag 73fcdccd3d Added a new global parameter delayToLiveInMillis to RacingEventService to make it possible to set the live delay globally.
Passed the parameter to all TrackedRace creation methods to set the parameter for a  TrackedRace (during creation and later on)
2012-05-23 18:23:43 +02:00
Axel Uhl fe1180f7bd fixed issue with regatta creation 2012-05-23 14:28:45 +02:00
Axel Uhl c953955d5f Reproduces error in RaceTrackerTest.testStopTracking if executed after testInitialization
Run in "Run" mode. Order is important. When executed alone, it works. It seems that some caching
and timing problem is at fault. Added more logging, still not clear why the TrackedRegattaImpl
is re-used instead of created. I suppose the removal of the regatta doesn't remove the tracked regatta
properly.
2012-05-23 11:26:36 +02:00
Axel Uhl 134bbe412a added "optional" regattaToAddTo parameter to tracking methods and pass on to race tracker factories 2012-05-22 23:01:31 +02:00
Axel Uhl ebf6e65278 added methods to create TracTracRaceTracker with specific Regatta 2012-05-22 18:54:05 +02:00
Axel Uhl 9895acf1b3 a few more Event-->Regatta renames 2012-05-22 15:29:25 +02:00
Axel Uhl c18c7f578f refactored TracTracRaceTrackerImpl such that it can accept a pre-defined Regatta into which to add the races 2012-05-22 15:24:45 +02:00
Axel Uhl b0eb1ae7f4 simple field rename in TracTracRaceTrackerImpl 2012-05-22 15:13:54 +02:00
Axel Uhl a4caf7423d renamed a few more getTrackedEvent to getTrackedRegatta; fixed failing replication test in ConnectTrackedRaceToLeaderboardColumn operation 2012-05-21 13:26:28 +02:00
Axel Uhl bd94677e2d renamed more "...event..." variables and parameters to "...regatta..." 2012-05-14 14:58:48 +02:00
Axel Uhl 81e24391f7 text search/replace for eventName and trackedEvent to regattaName and trackedRegatta 2012-05-14 14:30:24 +02:00
Axel Uhl 2799b7c287 renaming all trackedEvent occurrences to trackedRegatta 2012-05-14 14:23:39 +02:00
Axel Uhl 28ad1dbad2 renaming Event to Regatta; still missing many parameter and local variable names 2012-05-14 14:22:12 +02:00
Axel Uhl 21da4eebe3 removed TracTrac result API stuff which was never really used 2012-05-10 17:59:52 +02:00
Axel Uhl a5ba097916 first working end-to-end replication of tracking a race, loading its data and untracking/removing it again 2012-05-08 18:15:52 +02:00
Axel Uhl 424d207142 added operation implementations to replicate dynamic tracked race data 2012-05-05 15:33:29 +02:00
Axel Uhl 4c39000801 broken activemq import package declarations 2012-04-24 13:30:09 +02:00
Axel Uhl 4677f19d50 moved the competitor cache to the base DomainFactory 2012-04-20 18:04:58 +02:00
Axel Uhl 598bb96720 made more classes serializable; a first serialization / deserialization test for a GPSFixTrack now works 2012-04-18 13:04:22 +02:00
Axel Uhl 871292d599 made more objects serializable 2012-04-17 17:55:38 +02:00
Axel Uhl cedf9fc427 use a weak identity hash map to cache mapping of TracTrac event objects to SAP sailing domain Event objects 2012-04-09 13:07:39 +02:00
Axel Uhl c1eb61a617 clone listener set into array, moving listener notification out of synchronized block, trying to increase concurrency 2012-04-09 12:43:32 +02:00
Axel Uhl 497ed61a5b print "P" only every 1000 positions received to lower performance requirement for System.out handling 2012-04-09 09:50:22 +02:00
Axel Uhl 8e795aeab4 refactored adding a race tracker in RacingEventService 2012-03-30 18:17:59 +02:00
Axel Uhl 4d8d02d5b1 refactored addRace functionality, introducing polymorphic connectivity parameter objects across connectors 2012-03-30 16:56:05 +02:00
fmittag a9f9a728fe added the forwarding of the StopTracking event from TracTrac
added a new property to the TrackedRace to keep the StopTracking timepoint
2012-03-27 13:54:20 +02:00
Axel Uhl 470b4b0f1d don't set race start time anymore from arbitrary GPS fix; set startOfTracking instead of race start from TracTrac
So far, we confused the start of tracking with the start of race in DynamicTrackedRaceImpl and the TracTrac
provider. This is now fixed by a new setter for startOfTracking. Watch out for negative effects of this
fundamental change...
2012-03-23 09:35:22 +01:00
Axel Uhl 528318fbb9 fixed return types for getTimeInMilliseconds consistently 2012-03-18 10:26:02 +01:00
Axel Uhl 98fbf0cdb5 towards solving bug 394: enhanced SailingService so it can cope with null from/to values for getWindInfo 2012-03-14 14:57:49 +01:00
Axel Uhl 4bec1d8b0f use UTC to parse time stamps from TracTrac JSON document; this now fixes the mark position volume issue 2012-03-09 10:34:57 +01:00
Axel Uhl 8fd3667793 increased resolution for raw COMBINED fixes to 10s; constrain MarkPosition loading to tracked time 2012-03-09 00:04:50 +01:00
Axel Uhl 4af970de4a during wind estimation, ignore boats "going backwards" in a leg; copes with missing mark passings;
needed to adjust one test case which was changing the leg type but didn't change the competitor bearings
2012-03-08 12:36:03 +01:00
Axel Uhl 9be441e110 fixed updating the race course which fixes bug 16 2012-01-27 15:51:49 +01:00