Commit Graph
82 Commits
Author SHA1 Message Date
Axel Uhl 7c6f25a117 Merge branch 'master' into prod 2011-06-14 19:34:36 +02:00
Axel Uhl 2100945078 interpolate timestamps for expedition messages by keeping track of latencies 2011-06-14 19:21:10 +02:00
Axel Uhl 3009148864 removed unnecessary synchronization on WindTrackImpl.add
It's using a concurrent collection meanwhile anyway.
This avoids a deadlock when a wind track listener is notified
about the change and tries to clear the rank cache. The rank
cache re-calculation, however, draws the wind track's monitor
when calling getEstimatedWind(...).
2011-06-14 18:59:05 +02:00
Axel Uhl 55d94a7fc5 return null in getLastFix() and getFirstFix() if track is empty 2011-06-14 18:38:04 +02:00
Axel Uhl 9e29f2f65d improved "Blocking..." message 2011-06-14 18:07:10 +02:00
Axel Uhl d43c365fdf turned updateCount into long; added ExpeditionMessageImpl constructor to allow better time stamp defaulting 2011-06-14 18:05:12 +02:00
Axel Uhl 3791dcc164 introduced system property tractrac.tunnel. If set to true, test cases will use localhost tunnel 2011-06-14 17:33:18 +02:00
Axel Uhl fd7051825e Merge branch 'master' into prod 2011-06-14 15:19:10 +02:00
Axel Uhl be93c794af added meters per second speeds to showwind output 2011-06-14 15:15:44 +02:00
Axel Uhl 519e5a099e added speeds in meters per second to showrace output 2011-06-14 15:14:13 +02:00
Axel Uhl b745acb11f changed time point used for average speed over ground; use time of competitor's last fix if leg not completed;
return null if no fix found at all for competitor
2011-06-14 13:17:07 +02:00
Axel Uhl 3ddfa9d2a1 Merge branch 'master' into prod 2011-06-14 12:16:24 +02:00
Axel Uhl 910c860e69 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-14 10:53:13 +02:00
Axel Uhl 31b973602f increased max VM heap size to 2G; added comment for refactoring of getEstimatedSpeed 2011-06-14 10:51:51 +02:00
Simon Pamies cbbffbb3b8 Added cleaned run configuration 2011-06-13 22:44:20 +02:00
Axel Uhl 98efb3f4f7 increased timeout for declination read-out; notify about mark passings changes only after
all of a competitor's known mark passings have been re-established
2011-06-13 22:27:49 +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 0f7daa3ffd added currentSpeedOverGroundInKnots to showrace output 2011-06-13 21:41:21 +02:00
Axel Uhl e7d6006bfb fixed time point check for average velocity made good; fixed localhost default for MongoDB wind store 2011-06-13 21:30:10 +02:00
Axel Uhl b44c05c5c6 added first simple distance traveled test; made Expedition time conversion test more lenient 2011-06-13 20:56:36 +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 af1c40644b factored out the obtaining of the tracked race 2011-06-13 18:11:25 +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 5354ba7e3f added getTimePointOfLastEvent 2011-06-13 15:28:30 +02:00
Axel Uhl a82a16644e Merge branch 'master' into prod 2011-06-13 15:08:20 +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 b2a3a4426b fixed leg update after course change 2011-06-13 11:11:17 +02:00
Axel Uhl 6411ec6358 small beautification regarding use of domainFactory field 2011-06-13 10:08:22 +02:00
Axel Uhl 5812eeed95 Merge branch 'master' into prod 2011-06-13 01:13:13 +02:00
Axel Uhl aa1aed9a81 fixed tracked leg update after addWaypoint 2011-06-12 23:28:22 +02:00
Axel Uhl 332965617d fixed creation of TrackedLeg[OfCompetitor] after addWaypoint 2011-06-12 23:18:18 +02:00
Axel Uhl b22351e1ec adjusted to refactored createTrackedLeg APIs 2011-06-12 22:29:43 +02:00
Simon Pamies f45ffa4d00 After having understood what really happens in CourseImpl now fixed the
problem with IndexOutOfBounds for legs for good
2011-06-12 19:48:56 +02:00
Simon Pamies 322d6b02eb Fixed problem with CourseImpl where legs were initalized with wrong leg
start position
2011-06-12 19:14:35 +02:00
Simon Pamies 727325d25a Added launch config without tests 2011-06-12 18:03:45 +02:00
trac 85157ef6dc script to launch UDPMirror executable 2011-06-12 15:23:41 +02:00
Axel Uhl adf935acc1 added -v flag to UDPMirror so we can optionally see what's being forwarded on the console 2011-06-12 14:57:47 +02:00
Axel Uhl 93395921b0 improved comment for construction of waypoint objects 2011-06-12 14:42:18 +02:00
Axel Uhl a8eb81df8f added waypoint ID in leg output for showrace 2011-06-12 14:42:15 +02:00
Axel Uhl 7334cb2f45 Merge branch 'master' into prod 2011-06-12 14:20:02 +02:00
Axel Uhl 072726df77 provide an ID for waypoints 2011-06-12 14:19:16 +02:00
trac 751ea0b34a switched to mongo.port=10200 for dev branch 2011-06-12 13:59:38 +02:00
Axel Uhl 6a88a001a3 fixed leg adding/removal 2011-06-12 13:56:02 +02:00
Axel Uhl 49073eb0ea same Mongo connection pattern also for WindTracks tests 2011-06-12 13:41:57 +02:00