Axel Uhl
50441cd2e1
switched to Iterator to make differ more widely applicable
2011-06-10 23:26:24 +02:00
Axel Uhl
e05e271d9f
Merge branch 'master' of ssh://localhost:12347/home/trac/git
2011-06-10 21:50:23 +02:00
Axel Uhl
2578c084cb
switch top-level pom.xml to non-proxy operations (probably the default in our set-up?)
2011-06-10 21:49:49 +02:00
Axel Uhl
687d524171
added regression test for bug fixed by 20a3aa6c2d
2011-06-10 21:49:10 +02:00
Axel Uhl
989fa4258c
added regression test for bug fixed by 20a3aa6c2d
2011-06-10 21:46:59 +02:00
Axel Uhl
a1daeaedf4
added TODO
2011-06-10 21:37:10 +02:00
Axel Uhl
becc95ad49
fixed pattern that at least excludes Java .class files
2011-06-10 21:26:56 +02:00
Axel Uhl
56e99d863e
merged old java/TODO in top-level TODO
2011-06-10 21:21:34 +02:00
Axel Uhl
6346b92f2b
merged java/TODO with Simon's top-level TODO
2011-06-10 21:21:15 +02:00
Axel Uhl
13813d4261
Merge branch 'master' of ssh://localhost:12347/home/trac/git
2011-06-10 21:18:16 +02:00
Axel Uhl
d9aaab2027
implemented removewind REST API in admin app
2011-06-10 21:17:34 +02:00
Axel Uhl
2e2a450fcf
longer timeout in declination tests; formatting changes
2011-06-10 17:49:10 +02:00
Axel Uhl
c0f6ac453d
Merge branch 'master' of ssh://localhost:12347/home/trac/git
2011-06-10 17:40:43 +02:00
Axel Uhl
633aaecb11
deploy master to maven-repositories/dev
2011-06-10 17:39:14 +02:00
Axel Uhl
aa6a4aa78d
moved Maven repositories on server from ~trac/maven-repository to ~trac/maven-repositories/<branch-name>
2011-06-10 17:34:46 +02:00
Axel Uhl
fe88efcce5
adjusted to new java/ directory
2011-06-10 17:22:51 +02:00
Axel Uhl
381f684b9e
allow Iterable in diff-utils
2011-06-10 11:53:49 +02:00
Axel Uhl
349b21e59e
introduced generics to java-diff-lib
2011-06-10 11:41:46 +02:00
Axel Uhl
d25d2fba91
use java-diff-lib for a simple test case that changes a waypoint list
2011-06-10 11:17:25 +02:00
Axel Uhl
13a008fcc4
added java-diff-utils from Google Code (Apache License)
...
Preparing to diff a waypoint list to find a minimal diff
2011-06-10 11:02:57 +02:00
Axel Uhl
6b5cb8ecf1
preparing a test for course updates
2011-06-10 10:23:19 +02:00
Axel Uhl
a2549fb265
renamed firstFinish to finish because it's the finish time received from TracTrac
2011-06-10 01:17:47 +02:00
Axel Uhl
4c83e77597
updated TODO
2011-06-10 01:10:34 +02:00
Axel Uhl
c65148005a
wait a little for MongoDB to write its stuff so that
...
other sessions can see
2011-06-10 00:44:59 +02:00
Axel Uhl
34608e1bea
better test failure message
2011-06-10 00:31:24 +02:00
Axel Uhl
558a01683d
made abstract, avoiding JUnit / Maven to try to instantiate it
2011-06-10 00:00:44 +02:00
Axel Uhl
2a61b64ce6
successfully load/store wind tracks from MongoDB for TrackedRaceImpl instances
2011-06-09 23:41:40 +02:00
Axel Uhl
5e993e7e3f
adjusted test case for numeric lack of precision
2011-06-09 17:46:27 +02:00
Axel Uhl
d790bec3fb
first working test case that dynamically appends to and then retrieves a complete wind track
2011-06-09 17:33:56 +02:00
Axel Uhl
59dc139190
added UDP mirror test
2011-06-09 15:27:50 +02:00
Axel Uhl
5e158c7c75
added com.sap.sailing.mongodb to maven build, removed TODO regarding concurrency issue: can't be reproduced anymore
2011-06-09 10:54:52 +02:00
Axel Uhl
2757097126
fixed NPE issue in case competitor passed mark but has no position fixes
2011-06-09 10:40:43 +02:00
Axel Uhl
2b4aef46b9
added bug issue
2011-06-09 10:20:47 +02:00
Axel Uhl
7a0fd6ffd3
started a bundle that can store and retrieve domain data from MongoDB.
...
Need this for storing/retrieving wind information
2011-06-09 10:15:50 +02:00
Axel Uhl
6f2bcacbe6
Javadoc for TracTrac ResultAPI client
2011-06-09 10:15:08 +02:00
Axel Uhl
71aab3e3ff
With this version, the concurrency issues regarding showwaypoints cannot be reproduced.
...
Started to add tests for storing wind to and retrieving it from a MongoDB
2011-06-09 10:14:04 +02:00
Axel Uhl
0180e6c1ae
drop DB before test
2011-06-08 15:38:16 +02:00
Axel Uhl
18e3931401
added MongoDB driver and test to Maven build
2011-06-08 14:37:01 +02:00
Axel Uhl
b5c3d04559
added test project for MongoDB stuff
2011-06-08 14:32:09 +02:00
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