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
Axel Uhl
f7c26658bf
introducing dominant boat class determination for event which so far erroneously still used
...
boat class of first competitor
2011-06-24 18:22:41 +02:00
Axel Uhl
f0a81f39a9
fixed getRace in RaceTrackerImpl which didn't yet use the correct token object
...
(namely the RaceTracerImpl instance itself). That's the price for an Object typing...
2011-06-24 17:53:09 +02:00
Axel Uhl
cd973e198d
enhanced comment
2011-06-24 15:01:36 +02:00
Axel Uhl
fb9270a2bb
fixed issue with multiple TracTrac Event objects having equal IDs if they represent the same regatta
...
This caused only RaceDefinition object to be associated only with the single remaining instance
of Event in the map which was supposed to hold several TracTrac events (one per tracker) with
multiple associated RaceDefinition objects.
2011-06-21 03:29:09 +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
313ae3ee28
better logging about event stop/race stop; prepared thread pool to periodically listen to paramURL
...
to check for new control point positions
2011-06-21 01:04:06 +02:00
Axel Uhl
e5e46ebf95
added output about which race sent an event
2011-06-20 16:54:27 +02:00
Axel Uhl
22ac489afc
fixed determining dominant boat class (the Cam boat problem)
2011-06-20 15:29:11 +02:00
Axel Uhl
02b00c4bfa
avoid adding races to an event if we receive TracTrac notifications from the same TracTrac Event
...
with multiple boatClasses
2011-06-19 17:03:37 +02:00
Axel Uhl
d2278008d0
fixed mark passings update again
2011-06-19 13:57:13 +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
Axel Uhl
83c05842ce
support multiple boat classes in same race; use dominant one
...
Compute start time dynamically with threshold of 30s from first mark passing on first mark
2011-06-19 12:22:47 +02:00
Axel Uhl
481f07ab6d
be more tolerant if there are mark passing notifications with multiple occurrences for the same Waypoint
...
We thought this couldn't happen, but it does...
2011-06-18 13:39:33 +02:00
Axel Uhl
b7e86c9594
added synchronization on CourseImpl to avoid asking waypoints when there is a course update underway
2011-06-18 13:39:31 +02:00
Axel Uhl
ca128d74ce
fixed issue with multiple boat classes per event; added test case for that
2011-06-17 23:47:05 +02:00
Axel Uhl
7b0af7d8e8
compilable version with finished-time for race removed from REST APIs and from TrackedRace interface;
...
adjusted documentation in README accordingly; prepared getWindwardDistanceToOverallLeader
2011-06-17 17:27:00 +02:00
Axel Uhl
fb653ab47d
added capability to dynamically adjust the speed averaging interval
2011-06-17 08:28:06 +02:00
Axel Uhl
cf4d78bd68
fix NPE in case a boat class is not defined for a competitor
2011-06-16 15:08:03 +02:00
Axel Uhl
94d7fbf673
avoid lock-up when trying to stop trackers of non-started races
2011-06-16 12:47:07 +02:00
Axel Uhl
45e8f43a90
maintained TODO, extended README
2011-06-16 09:28:58 +02:00
Axel Uhl
d71ffcb9f6
increased interval for speed averaging/smoothening to 40s
...
which results in 20s for a half-sided interval
2011-06-15 21:51:52 +02:00
Axel Uhl
6cbd9c253a
use the new TracTrac Result API's getVMGAverage30s to obtain VMG estimate;
...
attached Javadoc to TracResultAPI
2011-06-15 13:50:14 +02:00
Axel Uhl
d0380cd0f3
added getRanks(TimePoint) on TrackedLeg
2011-06-15 08:00:43 +02:00
Axel Uhl
6d9ad23575
use timeOfLastEvent instead of timeOfNewestEvent as default for time point in showrace;
...
increased interval for speed smoothening to 30s of which usually only the left half (15s) is used
2011-06-13 22:05:34 +02:00
Axel Uhl
a07a83469b
No change
2011-06-13 21:48:40 +02:00
Axel Uhl
b749c4e804
added missing getSpeedOverGround implementation
2011-06-13 21:45:53 +02:00
Axel Uhl
7267e3861a
added test that ensures that re-launching tracker for same race parameter yields same tracker
2011-06-13 20:34:34 +02:00
Axel Uhl
9b4ca2fe6a
added missing files
2011-06-13 19:51:21 +02:00
Axel Uhl
464a1c6e64
first successful test that starts/stops/starts tracking for same race and gets different TrackedRaces
2011-06-13 19:48:25 +02:00
Axel Uhl
ad63bef2fd
added a failing test case showing the problem regarding stopping/restarting for the same race
2011-06-13 18:58:03 +02:00
Axel Uhl
0d023e78dd
added test code waiting for TrackedRace to show up
2011-06-13 18:00:48 +02:00
Axel Uhl
1e47a20edc
added RaceHandle return to addRace so clients can identify what they are tracking
...
Started working on a server test that works towards starting and stopping trackers for the
same race / event, asserting that tracking structures are cleared in between
2011-06-13 17:48:21 +02:00
Axel Uhl
b9df8dbe32
removing equals/hashCode from WaypointImpl again
...
Instead, DomainFactoryImpl.updateCourseWaypoints re-uses existing Waypoint objects by
explicit comparison of their ControlPoint objects, in order.
2011-06-13 13:06:42 +02:00
Axel Uhl
b22351e1ec
adjusted to refactored createTrackedLeg APIs
2011-06-12 22:29:43 +02:00
Axel Uhl
93395921b0
improved comment for construction of waypoint objects
2011-06-12 14:42:18 +02:00
Axel Uhl
d50756c8c7
pass DomainFactory to receivers to allow better testing; fixed removing waypoint from course
2011-06-11 17:08:56 +02:00
Axel Uhl
be3d1f2df7
added a first test for dynamic route update
2011-06-11 16:36:58 +02:00
Axel Uhl
dca886bd6c
call the new DomainFactory.updateCourseWaypoints method
...
when the course changes
2011-06-11 14:00:12 +02:00
Axel Uhl
f8c36b2297
made a Course observable for changes
2011-06-11 13:57:14 +02:00
Simon Pamies
ac2dc8cb96
Added meaningful error message when connection to TraTrac server fails
2011-06-10 22:43:32 +02:00
Axel Uhl
d9aaab2027
implemented removewind REST API in admin app
2011-06-10 21:17:34 +02:00
Simon Pamies
b03d9185eb
moved all Java stuff to java/ subdir
2011-06-10 16:39:27 +02:00