Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl d8a5fa1ef2 added MongoDB driver encapsulated as an OSGi bundle 2011-06-08 13:43:13 +02:00
Axel Uhl 64a471f0b2 implemented future pattern for trackedRace receiving in MarkPositionReceiver.
This was now necessary because the RaceDefinition and therefore the TrackedRace
only becomes available after the RaceCourseDefinition has been received. However,
this shouldn't block the MarkPositionReceiver's constructor which may be invoked
before the RaceCourseReceiver becomes active.
2011-06-08 12:38:02 +02:00
Axel Uhl 29c77d4ffe moved buoy tracks from TrackedEvent to TrackedRace 2011-06-08 12:16:12 +02:00
Axel Uhl bd5722fb6c added test case for backward declination correction 2011-06-08 12:01:28 +02:00
Axel Uhl d3d4da4d7f re-ordered according to priority 2011-06-08 00:42:54 +02:00
Axel Uhl cf6d4c0c8a removed resolved TODO 2011-06-08 00:36:20 +02:00
Axel Uhl fee440429e updated URL for single race to point to SAP-specific sim server 2011-06-08 00:35:54 +02:00
Axel Uhl 1bbab3dd00 added caching for imported declinations 2011-06-08 00:20:18 +02:00
Axel Uhl 2504587bec added test case that tests the declination application onto Expedition-provided wind 2011-06-08 00:01:46 +02:00
Axel Uhl 34445c856d added DeclinationService option to expedition wind tracking 2011-06-07 22:04:23 +02:00
Axel Uhl c22632a354 return null for those values of a competitor's tracked leg where the competitor hasn't started the leg yet
and where those values therefore don't make any sense, such as VMG or top speed on that leg
2011-06-07 21:28:36 +02:00
Axel Uhl 9670b04148 adjusted to new SAP-specific simulation server 2011-06-07 20:24:00 +02:00
Axel Uhl 932d9fc039 finished half-way usable version of DeclinationService with a bunch of tests. 2011-06-07 17:48:50 +02:00
Axel Uhl cc95a1526e added TODO regarding buoy tracks 2011-06-07 17:39:58 +02:00
Axel Uhl c0b9e71c65 added TODO regarding use of DeclinationService 2011-06-07 17:39:08 +02:00
Axel Uhl 0f675eabce added synchronization for buoy tracks 2011-06-07 17:21:28 +02:00
Axel Uhl 676c9e0b88 fixed latitude/longitude bug for addWindToMarks 2011-06-07 16:41:05 +02:00
Axel Uhl 085d990703 throw NoWindException when asking for mark wind translation without
having set a wind direction
2011-06-07 16:04:32 +02:00
Axel Uhl 9235dcea78 added addwindtomarksforonehour to AdminApp 2011-06-07 14:39:36 +02:00
Axel Uhl 5a2c088f73 use Long.MAX_VALUE instead of Integer.MAX_VALUE 2011-06-07 11:58:35 +02:00
Axel Uhl 4cabbf6475 added start time to listevents output 2011-06-07 11:53:01 +02:00
Axel Uhl d319a8fd3c adapted QuadTree to com.sap.sailing.domain.Position 2011-06-07 11:04:14 +02:00
Axel Uhl 6ad8e2c391 made QuadTree work with minimal implementation of GLatLng[Bounds} 2011-06-07 10:59:47 +02:00
Axel Uhl 9e0990ce5b preparing for a QuadTree integration to enable efficient position-based lookup of declinations 2011-06-07 09:52:09 +02:00
Axel Uhl 6457aed5f5 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-07 09:41:47 +02:00
Axel Uhl 4f224b20d6 moved Util class; started with a DeclinatinService; updated TODOs 2011-06-07 09:41:10 +02:00
Axel Uhl 39b6981b5d added upload_ext for direct external upload after renaming old upload_ext to upload_tunnel 2011-06-07 00:15:50 +02:00
Axel Uhl 7e052355fa added NoWindError as the runtime counterpart of NoWindException. This way, comparators can throw it.
Catching NoWindError where comparators are used, e.g., during Ranking, and re-throwing as the
original NoWindException that caused the NoWindError. With this, ranking is suppressed if no wind
information is present.
2011-06-07 00:13:55 +02:00
Axel Uhl a90207a699 added TODO regarding caching 2011-06-07 00:13:32 +02:00
Axel Uhl e62ce1d1b4 use HashMaps instead of WeakHashMaps for now to avoid "losing"
tractrac objects in between which would lead to duplication of our
domain objects.
2011-06-07 00:12:44 +02:00
Axel Uhl 5c3998a0d5 refactored NOAAImporter such that the default variant doesn't export regular expressions
They are now exported by a subclass in the impl package which is only visible to the test bundle
2011-06-05 19:26:57 +02:00
Axel Uhl cc94e16894 fixed global ranking order in comparator 2011-06-05 18:05:55 +02:00
Axel Uhl 7e87de408c fixed leg computation 2011-06-05 17:54:08 +02:00
Axel Uhl e0d9f27bd9 lazily initialize listeners, avoiding constructor hick-up 2011-06-05 17:03:06 +02:00
Axel Uhl 8cff253983 initialize listeners list before anything else 2011-06-05 16:56:42 +02:00
Axel Uhl 1c4692bd79 added caching and cache invalidation for TrackedLegImpl 2011-06-05 16:02:20 +02:00
Axel Uhl 2e9953528c changed race listener structure; added kielweek.web4sap.com as deploy target for maven 2011-06-05 15:50:19 +02:00
Axel Uhl 54c6d77611 implement race ranking separate from leg ranking 2011-06-05 15:17:32 +02:00
Axel Uhl 8997eae4ac added profiler launch 2011-06-04 21:45:04 +02:00
Axel Uhl 5893a44da1 added launch to profile server 2011-06-04 21:43:23 +02:00
Axel Uhl b9ccb8b306 enhanced comment 2011-06-04 21:42:54 +02:00
Axel Uhl f35d6922f5 fixing more border cases; probably not done yet 2011-06-04 19:31:51 +02:00
Axel Uhl 92bb7f8140 fixed position estimation algorithm, added tests covering previous failures 2011-06-04 18:45:23 +02:00
Axel Uhl 813349352c added extrapolation test
Noticed that if timePoint is after the last event, it's not so clear what to extrapolate and what not.
When extrapolating to the specified (maybe current) time, complete non-sense may result if the race
was long ago and not all leg fixes were yet received. If not extrapolating to the current point in time,
the question is to which time point to extrapolate. To the time point of the last event? To the time point
of the last fix in the (competitor's?) leg considered? And if such a more or less arbitrary selection
of a time point happens, ensure that this time point is then used throughout the calculations.
2011-06-04 15:52:13 +02:00
Axel Uhl abc48cd498 use wind "from" direction for TracTrac ResultAPI; improved defaults for time points 2011-06-04 13:28:23 +02:00
Axel Uhl 035e12243d don't use Thread.stop() anymore; file a bug to TracTrac instead
Turned off proxy for tests in pom.xml
Show wind in showwind up to 24h before race start as the default
2011-06-04 12:29:22 +02:00
Axel Uhl fc10ac0869 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-04 11:41:46 +02:00
Axel Uhl 832e23c6ad acknowledge that top speed is in km/h while everything else is in knots 2011-06-04 11:39:57 +02:00
Axel Uhl e1cb6de9aa changed proxy hostname from proxy.wdf.sap.corp to proxy so with a corresponding
/etc/hosts entry and a simple HTTP proxy installation, this may also work on the server
2011-06-03 22:56:02 +02:00
Axel Uhl 6159b06c19 all declinations for 2011/07 to 1 degree positional precision 2011-06-03 20:10:43 +02:00
Axel Uhl 0daaaf63e1 added hasStarted/hasFinished implementation for new TracTrac Result API 2011-06-03 18:24:46 +02:00
Axel Uhl f1c0f649e8 added missing new KnotSpeedImpl 2011-06-03 18:15:23 +02:00
Axel Uhl 89c14f6650 renamed KnotSpeedImpl to KnotSpeedWithBearingImpl
added KnotSpeedImpl as impl of Speed instead of SpeedWithBearing
implemented as much as was so far possible in TracTracTrackedLegOfCompetitorImpl
2011-06-03 17:56:10 +02:00
Axel Uhl e60d029004 finished first draft impl of TracTracTrackedRaceImpl 2011-06-03 17:09:37 +02:00
Axel Uhl 754c9c5f67 compilable, yet entirely untested next version of impl classes based on new TracTrac ResultAPI 2011-06-03 16:10:50 +02:00
Axel Uhl 5ef434ab06 started with an implementation of the tracking APIs based on the new TracTrac Result API 2011-06-03 15:14:07 +02:00
Axel Uhl 6462a64716 added TODO 2011-06-03 12:06:18 +02:00
Axel Uhl 10ee16a9ca Merge branch 'tractrac_new' 2011-06-03 11:59:45 +02:00
Axel Uhl f4ffc53532 added missing JARs 2011-06-03 11:59:26 +02:00
Axel Uhl 0983a219c5 added (missing?) TracResultAPI.jar 2011-06-03 11:58:10 +02:00
Axel Uhl 5e2ffb1048 include new resultapi into Maven build 2011-06-03 11:56:35 +02:00
Axel Uhl 3c7314889b added more JARs to result API runtime; emits some reasonable values for stored data, not so
reasonable for live data
2011-06-03 11:40:48 +02:00
Axel Uhl 92c3d6a3b7 avoid warnings in test code 2011-06-03 11:11:07 +02:00
Axel Uhl a777af273d added new result API provided by TracTrac as a bundle 2011-06-03 11:01:44 +02:00
Axel Uhl 7686376f79 added another TODO 2011-06-03 10:50:01 +02:00
Axel Uhl f4f3b9e59d added more TODOs 2011-06-03 10:49:23 +02:00
Axel Uhl d330850b87 stop ioThread explicitly; added TODO; added deploy target to top-level pom.xml 2011-06-03 10:36:13 +02:00
Axel Uhl c98f58722a fixed paramURL construction from jsonURL. Seems to work. 2011-06-02 18:16:17 +02:00
Axel Uhl abc9024f93 add resources/ to build.properties; avoids warning 2011-06-02 18:04:50 +02:00
Axel Uhl afb409ef6a compileable but untested upgrade, now theoretically allowing for jsonURL registration 2011-06-02 18:03:29 +02:00
Axel Uhl d56470ea36 changed tests so that they work with the recorded Weymouth data, not requiring the simulator 2011-06-02 17:56:21 +02:00
Axel Uhl 8bb53eeb07 added startoftracking to response of showrace 2011-06-02 15:35:33 +02:00
Axel Uhl 89175c603d added updatecount to showrace output; removed since parameter, added sinceupdate parameter relative to updatecount 2011-06-02 15:03:02 +02:00
Axel Uhl 6b5f998669 added to and toasmillis parameter for showboatpositions 2011-06-02 13:31:45 +02:00
Axel Uhl 3121098360 renamed EventTracker to RaceTracker 2011-06-01 16:48:28 +02:00
Axel Uhl 315da52c62 avoid warnings in JSON parser; added tests for JSON service output 2011-06-01 16:39:04 +02:00
Axel Uhl feb0262676 added JSONService tests 2011-06-01 16:38:02 +02:00
Axel Uhl 4485b725ab added showwind API 2011-06-01 13:04:50 +02:00
Axel Uhl aa4692b3b6 added lastupdate on showrace output 2011-06-01 11:03:01 +02:00
Axel Uhl 2923a2be29 added wind source selection 2011-06-01 10:20:43 +02:00
Axel Uhl cafca04c48 added file read vs. online search functionality for declination 2011-05-31 18:16:45 +02:00
Axel Uhl b4ea67a4bb add "started" to showrace output for competitor legs 2011-05-31 16:53:56 +02:00
Axel Uhl ed8b7192d8 added declination bundle to feature; fetch only one declination per year 2011-05-31 16:47:47 +02:00
Axel Uhl d8c361b5a9 added import logic and pom.xml file for declination tests 2011-05-31 16:38:22 +02:00
Axel Uhl 1635e45cd3 ignore bin/ directories 2011-05-31 15:38:39 +02:00
Axel Uhl bf861d6948 ignore bin/ directories 2011-05-31 15:38:25 +02:00
Axel Uhl f60112c6fa declination importer test project 2011-05-31 15:37:36 +02:00
Axel Uhl 3a16d05631 declination import test project 2011-05-31 15:37:24 +02:00
Axel Uhl 04f2d39726 added declination project contents 2011-05-31 14:48:09 +02:00
Axel Uhl bce1df8d8c added declination project 2011-05-31 14:46:11 +02:00
Axel Uhl 43fd8bc95e added add(Bearing) on Bearing 2011-05-31 14:45:11 +02:00
Axel Uhl 3f32c6f6d0 fixed build.properties to avoid "can't contain itself" maven message during bundling 2011-05-31 13:54:56 +02:00
Axel Uhl 69a93f3da6 remove unnecessary test exclude 2011-05-31 13:50:36 +02:00
Axel Uhl ffc0cc762a adjusted version of json.simple to 1.1.0 in pom.xml 2011-05-31 13:39:44 +02:00
Axel Uhl e121d09275 added start/finish time to listevent race output 2011-05-31 13:37:50 +02:00
Axel Uhl f7c7301b02 refactored listener/receiver concept for more reproducable test case execution 2011-05-31 13:34:27 +02:00
Axel Uhl c176c2ad9d added API to obtain selected subset of event receivers 2011-05-31 10:39:44 +02:00
Axel Uhl 238a422aba added pom.xml files for maven build 2011-05-31 10:03:35 +02:00
Axel Uhl a2187ec57f fixed parameter name 2011-05-31 09:16:32 +02:00
Axel Uhl c4b6d31410 factored out getTimePoint; allow for passing time as milliseconds 2011-05-31 09:15:17 +02:00