Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl aa3a1e6b8b Merge branch 'gwt' of ssh://localhost:12347/home/trac/git into gwt 2011-11-08 17:31:00 +01:00
Axel Uhl 2a12d45fc0 refactored Mongo DB connector: new Activator which encapsulates DB connection 2011-11-08 17:10:10 +01:00
Axel Uhl 68aaec81df fixed RPD test after Kai changed the protocol regarding time stamp format 2011-11-07 20:52:55 +01:00
Axel Uhl 0f6fea93ea added missing file 2011-11-07 20:09:19 +01:00
Axel Uhl 557619696e starting to introduce polymorphism across RaceTracker for SwissTiming and TracTrac 2011-11-07 18:18:27 +01:00
Axel Uhl c12a0d74fc listing races offered by SwissTiming SailMaster server seems to work 2011-11-07 15:45:46 +01:00
Axel Uhl d59a2f0294 more swiss timing connectivity stuff; relaxed test with reverse distance a bit because distances
are taken at slightly different times (one after the other)
2011-11-07 13:50:14 +01:00
Axel Uhl 3000cfe90f first successful connect through SwissTiming event management panel 2011-11-07 13:40:51 +01:00
Axel Uhl 97b95ea660 compilable (yet entirely untested) version of SwissTiming configuration stuff 2011-11-07 13:17:03 +01:00
Axel Uhl 6c84c19cc3 first attempt to implement a SwissTiming config panel for AdminConsole web app 2011-11-07 12:46:07 +01:00
Axel Uhl 649ee87113 moved TODO items from TODO file to bugzilla at http://bugzilla.web4sap.com 2011-11-04 23:40:37 +01:00
Axel Uhl b929285def ignore live SwissTiming tests 2011-11-04 17:26:57 +01:00
Axel Uhl 742697267a factored out the common parsing functionality for event and response messages;
implemented the notification methods for SwissTiming events
2011-11-04 17:25:42 +01:00
Axel Uhl ee4f0db2ce added flimsy test for mark passing times 2011-11-04 17:06:48 +01:00
Axel Uhl f5d38da9e4 flimsy test for distance between boats 2011-11-04 16:40:24 +01:00
Axel Uhl f6f894d2ed added test case (that currently suffers from stale data about distances) for distance between boats 2011-11-04 16:27:07 +01:00
Axel Uhl d870388e65 added test for delta clock at mark 2011-11-04 16:15:42 +01:00
Axel Uhl e9709e0b4c ignore entire live SwissTiming test to not confuse kielweek server (firewall issue!) 2011-11-04 15:20:45 +01:00
Axel Uhl d44a19431b minor cosmetic refactoring 2011-11-04 15:05:05 +01:00
Axel Uhl a8c2d7f2ca Merge branch 'gwt' of ssh://localhost:12347/home/trac/git into gwt 2011-11-04 15:04:01 +01:00
Axel Uhl fcdd551b0f ignore live ST RPD test for now because the server cannot be guaranteed to be online 2011-11-04 14:59:38 +01:00
Axel Uhl 5d1eeff627 Benjamin and Fabian: fixed bug in FormattedDoubleLegDetailColumn.getPercentage regarding NPE 2011-11-04 14:42:36 +01:00
Axel Uhl 4ad6881f02 added logic and first basic test for clock at mark; doesn't work yet 2011-11-04 14:33:06 +01:00
Axel Uhl 5db51a48f3 removed extra loop 2011-11-04 13:32:16 +01:00
Axel Uhl 8892ca5dbd Merge remote-tracking branch 'server/gwt' into gwt 2011-11-04 11:00:54 +01:00
Axel Uhl b23ac38cc7 continued with SwissTiming connector and tests 2011-11-04 11:00:41 +01:00
Axel Uhl f1d962a001 fixed test data for SwissTiming RPD test 2011-11-04 09:43:27 +01:00
Axel Uhl 1e13b3c32c moved a few TODO items to Bugzilla 2011-11-03 23:27:16 +01:00
Axel Uhl c32b399a3b removed unnecessary interface 2011-11-03 22:40:15 +01:00
Axel Uhl 29109ca901 Merge branch 'up_down' into gwt 2011-11-03 22:38:49 +01:00
Axel Uhl 79fb156d6f trimmed the RPD test case such that it runs for now;
There seem to be contradictions with the SwissTiming Sail Master protocol specifications
which I've now addressed to Kai Hahndorf. It seems that except for COMPETITOR tracker types
the AverageSpeedOverGround field is missing.
2011-11-03 22:37:00 +01:00
Axel Uhl 526652fdbc Merge branch 'gwt' into up_down 2011-11-03 20:53:47 +01:00
Axel Uhl d9247287a0 refactored SwissTiming tests to use the MessageType constants instead of string literals 2011-11-03 20:52:47 +01:00
Axel Uhl 2f9e488016 fixed SwissTiming tests with new rendevous design 2011-11-03 20:48:37 +01:00
Axel Uhl 5a27f646ed Merge branch 'gwt' into up_down 2011-11-03 19:59:54 +01:00
Axel Uhl 02df84e69b preserve log from Hamburg MdM event
We suspect the course configuration / RouteData event not to have been
sent when one race changed course in flight. This log may help to
identify what went wrong.
2011-11-03 19:23:19 +01:00
Axel Uhl 6f962d9dc8 first implementation of a SwissTiming RPD message parsing algorithm; untested 2011-11-03 18:22:33 +01:00
Axel Uhl 50bb919f43 started to prepare structures for receiving fixes from SwissTiming sail master 2011-11-03 12:25:56 +01:00
Axel Uhl e26ecf0c84 added a wait interval after stopping sail master dummy to give socket a chance to clean up 2011-11-03 11:53:06 +01:00
Axel Uhl 37e5ce4c77 minor rename 2011-11-03 11:48:06 +01:00
Axel Uhl df0ae8df87 added interface method for getMarkPassingTimesInMillisecondsSinceStart 2011-11-03 11:47:39 +01:00
Axel Uhl ba3fd9ea94 made sail master tests work off new protocol version 2011-11-03 11:44:51 +01:00
Axel Uhl 5fe2f666fa fixed file name construction for stored tracks in case there is no sail ID assigned to the boats 2011-11-03 11:27:23 +01:00
Axel Uhl c310ade224 refactored such that sailing service impl becomes testable to a degree 2011-11-03 11:23:05 +01:00
Axel Uhl fd31d7e956 fixed compilation error; re-formatted 2011-11-03 11:10:59 +01:00
Axel Uhl cdbcca2862 working towards new SwissTiming connector protocol 2011-11-03 11:09:22 +01:00
Axel Uhl 2a4e3ec161 added pwt commons to gwt.ui.test pom.xml 2011-11-03 10:13:32 +01:00
Axel Uhl df517938f3 fixed upwind/downwind display 2011-11-03 09:32:23 +01:00
Axel Uhl e908b659a9 first successful new SwissTiming protocol test 2011-11-02 18:10:03 +01:00
Axel Uhl b67d8169f9 re-enable proxies for settings.xml so that central Jenkins build may work again 2011-11-02 18:06:25 +01:00
Axel Uhl 84cbfe4419 added new responses to SwissTiming dummy server impl according to new protocol spec 2011-11-02 18:00:23 +01:00
Axel Uhl fe7fbc017f added gwt.ui.test project 2011-11-02 15:47:12 +01:00
Axel Uhl 4af8a25194 added launch config to download MdM tracks from Hamburg 2011-11-02 15:46:50 +01:00
Axel Uhl 11894237b9 added POM for new gwt.ui.test project 2011-11-02 15:44:49 +01:00
Axel Uhl dc69f9df3e added sail ID to file name for track storage 2011-11-02 15:12:28 +01:00
Axel Uhl b839c06198 added a test placeholder 2011-11-02 14:02:23 +01:00
Axel Uhl a97b8230fe new test bundle for gwt.ui project 2011-11-02 14:00:45 +01:00
Axel Uhl 126beecff2 added a main routine that allows us to download and store to file a specific combination of event/race 2011-11-02 13:21:30 +01:00
Axel Uhl 36613799b6 adjusted STG account-based tests so that they cope with races that got added 2011-10-28 17:12:25 +02:00
Axel Uhl f2adf4d3f5 added wind display for course-defined wind and always providing an estimation if requested,
for current time if no other wind fix exists
2011-10-28 17:00:52 +02:00
Axel Uhl 35354852c2 added a "Sailing Analytics" label next to the SAP logo in the leaderboard panel 2011-10-28 14:36:10 +02:00
Axel Uhl b215ccd3c7 added stuff 2011-10-27 23:46:35 +02:00
Axel Uhl 74ee90d53f show wind estimation not only for EXPEDITION source but for selected wind source's time points 2011-10-27 11:48:57 +02:00
Axel Uhl a490a98594 fixed re-display of original competitor name in case field is cleared 2011-10-26 21:47:25 +02:00
Axel Uhl ce42d7a7f1 changing competitor name per leaderboard seems to work now 2011-10-26 20:43:22 +02:00
Axel Uhl 9e6d3f946c made competitor names editable per leaderboard; editings are maintained in MongoDB 2011-10-26 20:36:04 +02:00
Axel Uhl 7ef80d5891 removed GPS position again from xcelsius rankPerLeg service and added a placeholder
gpsPerRace service which does deliver the GPS coordinates; this latter service hasn't
been aligned with the Xcelsius requirements yet and is merely a code sample for accessing
the tracking information about positions.
2011-10-26 16:56:52 +02:00
Axel Uhl 79c0ec8bbd treat null values in enhanced RankPerLeg functionality properly 2011-10-07 13:11:49 +02:00
Axel Uhl c5c43931be added columns as requested by Kersten 2011-10-07 11:46:22 +02:00
Axel Uhl cdf0d49d0e a first Douglas-Peucker implementation with a first few naive tests 2011-10-07 11:42:32 +02:00
Axel Uhl 2af78970a9 a first Douglas-Peucker implementation 2011-10-07 11:37:23 +02:00
Axel Uhl b1a8368364 fixed computation of average race speed (m/s vs. kts) and aligned ordering of columns for race/leg 2011-10-07 10:05:18 +02:00
Axel Uhl 1f5c40a56d race aggregation columns seem to work now 2011-10-07 09:49:37 +02:00
Axel Uhl 5e0fbc08d6 adds race detail columns; however, remembering expansion state no longer works; need to be fixed 2011-10-06 15:04:37 +02:00
Axel Uhl 2cd4fb082e added preferences files; removed generated files from git; added missing RaceAverageSpeedColumn.java 2011-10-05 23:51:26 +02:00
Axel Uhl 233bac2a02 factored xcelsius-adapter into a separate bundle so it can easily be restarted 2011-10-05 23:34:58 +02:00
Axel Uhl 0117162828 fixed URLs for registration; first smoke test seems ok 2011-10-05 19:07:44 +02:00
Axel Uhl aaf4c879ac switching to HttpServiceTracker instead of using singleton plugins with plugin.xml 2011-10-05 18:13:14 +02:00
Axel Uhl 4ae303836a added assertion requesting that after stopping/starting for the same race, two different RaceDefinitions result 2011-10-04 22:54:18 +02:00
Axel Uhl 03a4170099 fixed test now that removeRace may remove the domain event so that a new one is created the next time 2011-10-04 22:46:44 +02:00
Axel Uhl 80cd2f9df5 added TODOs 2011-10-04 21:36:56 +02:00
Axel Uhl db799b51e3 fixed a few more things regarding multi-race in a single event; fixed disconnect/reconnect problem 2011-10-04 21:35:05 +02:00
Axel Uhl 8c283f0764 reflected last change in TODO 2011-10-04 15:11:31 +02:00
Axel Uhl 34e9ab62a0 removing / flushing all race data from DomainFactory for races for which a tracker is started
With this we can hope to be able to cleanly disconnect and reconnect to races so that really a
new set of RaceDefinition/TrackedRace objects is created.
2011-10-04 15:09:11 +02:00
Axel Uhl 747802d0d1 compilable but yet untested version that may accept multiple TracTrac Races per TracTrac Event 2011-10-04 14:26:41 +02:00
Axel Uhl 765986439d renamed waiting methods to getAndWait... 2011-10-04 12:37:05 +02:00
Axel Uhl f27814745d renamed get... and create... methods to getOrCreate... if they get or create ... 2011-10-04 12:35:11 +02:00
Axel Uhl 129fde3071 minor refactoring for obtaining competitors and boat classes from a TracTrac race.
Background: we need to be better able to digest a change in a race's competitor list.
This has to go hand in hand with a re-think of the object life cycle for connecting
to the tracking infrastructure.
2011-10-04 11:23:44 +02:00
Axel Uhl 2ae5a9c45f fixed toString 2011-10-03 17:20:21 +02:00
Axel Uhl 55e73237b1 fixed leaderboard scoring bug: medal race doesn't count for number of discardable races 2011-10-03 15:18:11 +02:00
Axel Uhl 8eb0e04a47 fixed calculation of VMG which so far projected wind onto boat direction instead of the other way around 2011-10-03 10:18:53 +02:00
Axel Uhl 49d08bfbe7 fixed sorting issue: don't compare CompetitorDAO by identity but use equals/hashCode 2011-10-03 08:57:12 +02:00
Axel Uhl 48e37faf99 implemented leaderboard ranking rules for ties
With equal total points, if both participated in the medal race, the better medal race rank wins.
Medal participants always rank better than non-medal race participants. Between non-medal race
participants with a tie, the one with the more race wins is ranked better. In case of equal race
wins, the one scoring better in their last race is ranked better.
2011-10-02 23:13:47 +02:00
Axel Uhl 93ca3753a5 translated more leaderboard headings 2011-10-02 22:55:50 +02:00
Axel Uhl 62c29675fa can compute the races won and use them to rank in case of a tie 2011-10-02 18:51:02 +02:00
Axel Uhl 7b803bf58b extend slider's max if necessary, e.g., because time advances beyond slider's current max 2011-10-02 14:05:07 +02:00
Axel Uhl 33143f26b0 use 0 bar length if minimum value has very close to 0 absolute value 2011-10-02 13:32:35 +02:00
Axel Uhl a47759ad28 minimum bar length 10% 2011-10-02 13:29:17 +02:00
Axel Uhl 5f54fa186d loosened synchronization to avoid deadlocks 2011-10-02 13:13:50 +02:00
Axel Uhl 909c01e5e1 added synchronization for gps fix adding and computing estimated speed 2011-10-02 12:10:32 +02:00