Axel Uhl
56887089c7
upgrade to TracAPI 3.7.1: fixes NPE for IRace.getEvent()
...
Change-Id: I8164b2f6152f119487fc476407ee4c63feacf70e
2017-07-21 13:17:10 +02:00
Axel Uhl
6a91a3ef33
whitespace changes only
...
Change-Id: I42b645cd1c269a2e18bdf3b67fc1e0e76e065b49
2017-07-20 12:55:13 +02:00
Axel Uhl
b6cf205867
removed IControlsListener again after upgrade to TracAPI 3.7.0; it should no longer be required
...
Change-Id: I325c9aee8b3993fb849d3a20f3ebaa661ad38f70
2017-06-29 18:30:33 +02:00
Axel Uhl
7d2feff5bf
add IControlsListener to receive position update for static marks; unsubscribe listeners properly again in onStop
...
Change-Id: I8aa109fd572bc68e8c0d2d14a76e58979e036715
2017-06-20 13:51:02 +02:00
Steffen Schaefer
9123771f34
normalized line endings
2017-05-16 09:42:02 +02:00
Axel Uhl
8b7238370a
Merge branch 'bug4087'
2017-04-18 16:31:31 +02:00
Axel Uhl
b11dca244e
bug3552: refactored Mark.color from String to Color
...
Change-Id: Iddcc26de68dd5c1ecd3fdcbb61e59810e879ae37
2017-04-11 11:20:46 +02:00
Axel Uhl
9e8e5a2c9d
fixed indentation
...
Change-Id: I306485e2586182ccd4ff32291642be46d4741e42
2017-04-07 16:05:06 +02:00
Axel Uhl
2d5651ac44
don't assign additional marks to race if TracTrac doesn't know the course area
...
Change-Id: I7a38ee8c5eab49aea0f8819f1067e255dbda8cd3
2017-04-07 15:39:06 +02:00
Axel Uhl
ee8e2d6bc0
fixed issue with getSecondMarkId(), turning Florianopolis mark passing tests green again
...
Change-Id: Ic6cd332bcca7fd5db72c26c698dd028d811b87d3
2017-04-07 10:34:54 +02:00
Axel Uhl
50bb017e3e
fixed indentation
...
Change-Id: Id936bc41d7cba3d1f152bf9d142ed8c1bc2eb1f5
2017-04-07 10:29:58 +02:00
Axel Uhl
545ba2d0f5
use IControlPoint.getId() for marks where defined
...
Change-Id: I3b3a7416d1dee0f6b0a25aa49bf7d1346810fbce
2017-04-06 18:30:00 +02:00
Axel Uhl
c6025e0b3b
first implementation for bug 4087: re-use existing IControl if marks match
...
Change-Id: I4af7a0ed3fb691b425e35fa333fc52c861ba36fe
2017-04-06 13:03:00 +02:00
Axel Uhl
8180a65da5
bug 4087: using IControl ID + (1/2) for marks' ID; replace control points by existing ones for same set of marks
...
Change-Id: Icec17f89224aa0bef70d681362613bda849a42c2
2017-04-06 12:14:29 +02:00
Axel Uhl
90ac3aff2e
formatting only
...
Change-Id: I21855e68f68a9a2c9df71d454709142284b23bec
2017-04-06 10:15:31 +02:00
Axel Uhl
a32aa8a2ac
bug4099: ignore non-competing ICompetitor objects coming from TracTrac
...
Change-Id: If9a90a9adf59aa228f227a8f01656ebc56782e16
2017-04-04 17:52:22 +02:00
Axel Uhl
8ab46b3660
fixed synchronization for updating initial start/end of tracking time into new TrackedRace;
...
This way, other receivers will not see the TrackedRace as announced to
the DomainFactory before a callback was invoked which in this case
updates the start/stop tracking times.
Change-Id: I3cc513f0c893b116d7ea9dc6af93ac16f50c328b
2017-03-20 16:11:57 +01:00
Axel Uhl
16211b7ec7
using RacingEventService.stopTracking instead of only calling stop() on the tracker;
...
this shall consistently remove the tracker from the tracker cache in
RacingEventService, stop tracking wind and hence allow for re-tracking
such a race.
Change-Id: I39d029c468522ae72e2e2b29c777fa23fcdbdb70
2017-03-13 22:02:39 +01:00
Axel Uhl
cfccd8c5d6
Merge remote-tracking branch 'origin/tracapi-3.6.0'
2017-03-08 21:35:31 +01:00
Axel Uhl
a4b5bfe8d5
use timeout mechanism of TracAPI 3.6.0 for obtaining IRace from TracTrac
...
Change-Id: Ib3ceca870482ce524f647f7c985320c470086a95
2017-03-08 12:17:49 +01:00
Axel Uhl
df6ce38c8f
better clean-up procedures in case race cannot be loaded because its boat class doesn't match
...
Change-Id: If38bf0c197704915e228fff9c4eab6800c1bd443
2017-03-07 22:36:36 +01:00
Axel Uhl
f0bb81b302
added more logging for calling stopTracking by the TracTracRaceTrackerImpl
...
Change-Id: I273278812567369d1a375b5b583f7379f3fe9047
2017-03-05 13:47:45 +01:00
Axel Uhl
35d493ed73
use a background thread waiting with timeout for the RaceDefinition to appear before stopping tracking
...
Change-Id: I1c19b6a539b614f355d81f5ad5e0a2d06e6c9965
2017-03-05 10:57:27 +01:00
Axel Uhl
57a1204d15
simplified implementation of RaceHandleImpl.getRace(long)
...
Change-Id: Ifc1db80a74092d243b27d0b0f720363181aa3715
2017-03-05 10:55:23 +01:00
Axel Uhl
c53e2a9df6
added a minimum amount of synchronization around TracTracRaceTrackerImpl.race to ensure "volatile" works
...
Change-Id: I235f755ba816bd9dc27f07ca28ea1c80a71d1cf0
2017-03-05 02:07:33 +01:00
Axel Uhl
3c7e3824ef
log addRaceDefinition in TracTracRaceTrackerImpl
...
Change-Id: I43d68ae0dfaa841bebf32089de90731d933d743b
2017-03-05 02:00:29 +01:00
Axel Uhl
9f9888b3a0
making the RaceTracker.getRace() call return a "volatile" value;
...
this may be the fix for races not moving to FINISHED state during mass
loading
Change-Id: I5c35d24ee9335819e59288914289a22f72ba1cda
2017-03-04 23:07:18 +01:00
Axel Uhl
51b6a9557b
use Util.addToValueSet to simplify code
...
Change-Id: I83f631a05259266054fc57db1a268f12cdc81e9e
2017-03-04 22:16:48 +01:00
Axel Uhl
0a956e11ce
replaced printStackTrace by logging
...
Change-Id: Ida99ce556a9702f6dd5e5a7f2fc5af29cc300483
2017-03-04 15:28:01 +01:00
Axel Uhl
cd67b2ea2f
fixed synchornization problem that in some cases lead to race definition lookups not getting unblocked properly
...
Change-Id: Icd0cfd3bdfb8c37a8df1997814da4aabe38c6859
2017-03-02 18:59:08 +01:00
Axel Uhl
a84b84b3ce
upgraded TracAPI to 3.4.0
...
Change-Id: Iebec9b40682ef95435c538c05af4edd1a469406f
2017-01-31 16:29:30 +01:00
Axel Uhl
a615173f26
pass through the timeout parameter to the trackers; TracTrac receivers now use it; -1 means wait and is used for restore
...
Change-Id: Iee676ffceb44eb9459c51ba38cddbaf5ba40c9fb
2017-01-27 15:07:56 +01:00
Axel Uhl
9a8df602b4
fix for bug4040: computing update for storedURI/liveURI already in TracTrac connectivity params, keeping tracker ID and params ID equal
...
Change-Id: I8f86770286332a5198ab2ba57b83a52c67759008
2017-01-26 11:55:46 +01:00
Axel Uhl
688d37d27c
bug 4037: automatically "upgrade" to replay format during restore if available;
...
still using a kludge for detecting replay format; TracAPI 3.3.2 will
offer a reliable API for that later today
Change-Id: Ied19e1e787f6f28d2a6e531b9ac1aedf5721ab5b
2017-01-25 08:47:17 +01:00
Axel Uhl
7650af5809
added more upper version constraints for org.apache.httpcomponents.*
...
Change-Id: I2b0e9ecab3449dfe281259ba63d98d69d382c5c8
2017-01-24 00:49:23 +01:00
Axel Uhl
f9b4ac7b50
passing through trackWind and correctByDeclination params into connectivity params
...
Change-Id: I7adbb4f2c84e5352c9f3891b23198b74ca2fce4c
2016-12-30 12:02:06 +01:00
Axel Uhl
d965ead2e8
removed unused code (addRegatta) from TracTracAdapter
...
Change-Id: I1999eb21d550e762fa9ba68c071ca7ee84546fb1
2016-12-30 10:33:42 +01:00
Axel Uhl
9aed690264
implemented RaceCreationListener callback pattern on RaceTracker as prerequisite for linking connectivity parameters to Race/TrackedRace
...
Change-Id: Ib74b2a1c1defe7c89f9a3584cbb230fe73358a13
2016-12-29 20:01:24 +01:00
Axel Uhl
704e4e2a64
refactored RaceTracker such that getRace[Identifier]s() is now getRace[Identifier](), alluding to the always-singular aspect of RaceTracker/RaceHandle
...
Change-Id: I50d202122c3021dd2f852762688d762fb3806d99
2016-12-29 18:10:36 +01:00
Axel Uhl
c20cf52f4d
RaceTracker objects now know the connectivity parmaeter objects from which they were originally created
...
Change-Id: Ifc3b20618b25f5a4a489108b283a44b9087a31c2
2016-12-29 15:33:17 +01:00
Axel Uhl
f81fe95c6f
made connectivity params getters public so that handlers can access them from other bundles
...
Change-Id: I03906cfc4eb4b0c7eba3d7336f7f49a997d11a62
2016-12-29 11:10:55 +01:00
Axel Uhl
5714320b83
minor refactoring regarding how effective regatta is determined for TracTrac adapter
...
Change-Id: I3d14153b21b091a4fd328397b97a396b2afaa826
2016-12-28 16:08:16 +01:00
Axel Uhl
c907a474a0
comment change only
...
Change-Id: Id5f80f86d941bc9563fd507e588baf2d5e3ad0b8
2016-12-28 16:07:03 +01:00
Axel Uhl
c949c21450
first attempt to load and store a TracTrac connectivity params object with service finder approach
...
Change-Id: I8a42e772a31ab074b561154ec42fa1ac28e79bb9
2016-12-28 11:49:22 +01:00
Axel Uhl
931adfc757
started a service provider pattern-based implementation for storing / loading connectivity params in MongoDB
...
Change-Id: I6a2c0e2ff93ff8b003ec27f072e5b3331ca00d75
2016-12-27 17:35:15 +01:00
Axel Uhl
812476a375
Javadoc and formatting changes only
...
Change-Id: Ic98144ddd3bb4dd71913eeb624a8ee68b14bea41
2016-12-27 16:00:57 +01:00
Axel Uhl
9a866275d5
bug 3588: the TracTrac connector can now optionally start / stop tracking automatically using the API based on timing from race log
...
Change-Id: If0803381b5bb78406a567da142b4a8cdabb1756b
2016-09-13 17:01:01 +02:00
Axel Uhl
e4bbb427ce
Merge branch 'master' into bug3785
2016-07-18 10:22:46 +02:00
Axel Uhl
9147d7cca8
create the wind simulator thread as a daemon thread to not keep VM from shutting down if requested
2016-07-17 23:15:02 +02:00
Axel Uhl
d6419c51cb
wired user notifications to a new LeaderboardScoreCorrectionNotifier in RacingEventService; wired notifications with TrackedRaceReplicatorAndNotifier
...
Change-Id: I4ff77cf49700140b134dc95326a3f7a844958d95
2016-07-15 18:38:24 +02:00