Commit Graph
518 Commits
Author SHA1 Message Date
Axel Uhl b883acce9e solved byg 385 by returning null from getWindOnLeg if mark positions are not known;
this will cause a NoWindException in getLegType which is already caught in the wind estimator
2012-03-09 10:50:26 +01:00
Axel Uhl 4bec1d8b0f use UTC to parse time stamps from TracTrac JSON document; this now fixes the mark position volume issue 2012-03-09 10:34:57 +01:00
Axel Uhl fe0fb3eeb1 avoid NPE in CourseBasedWindTrack 2012-03-09 09:26:42 +01:00
Axel Uhl 275d627802 use less confidence for downwind estimations; configured in BoatClassImpl 2012-03-09 00:20:39 +01:00
Axel Uhl 8fd3667793 increased resolution for raw COMBINED fixes to 10s; constrain MarkPosition loading to tracked time 2012-03-09 00:04:50 +01:00
Axel Uhl 2150629d7b SailingService.getWind(...) methods now also add the COMBINED WindSource(Type) by default 2012-03-08 16:46:40 +01:00
Axel Uhl 74d0257619 added a CombinedWindTrackImpl that uses TrackedRace.getWind 2012-03-08 16:32:10 +01:00
Axel Uhl b0db50e3e0 untangled the endless recursion regarding internalRawFixes in TrackBasedEstimationWindTrackImpl 2012-03-08 16:19:12 +01:00
Axel Uhl 57c44d3305 fixed caching in wind estimation track 2012-03-08 15:48:07 +01:00
Axel Uhl db57d35b0e working towards an additional virtual combined wind source; currently two tests are broken 2012-03-08 15:45:33 +01:00
Axel Uhl 65212b45ca avoid deadlock by only locking windTracks collection when adding a wind track 2012-03-08 14:02:23 +01:00
Axel Uhl 4af970de4a during wind estimation, ignore boats "going backwards" in a leg; copes with missing mark passings;
needed to adjust one test case which was changing the leg type but didn't change the competitor bearings
2012-03-08 12:36:03 +01:00
Axel Uhl 551b905bcf immediately create WindSource value objects instead of delegating to race 2012-03-07 13:21:46 +01:00
Axel Uhl cc009ff5c1 trying to load persistent wind tracks during construction of TrackedRaceImpl; untested 2012-03-06 18:01:47 +01:00
Axel Uhl 58086569fa renamed wind averaging methods on WindTrack from ...Estimate... to ...Average... 2012-03-06 14:49:45 +01:00
Axel Uhl 354013be1a use confidences when splitting a bearing cluster 2012-03-06 14:48:39 +01:00
Axel Uhl 696475e778 added missing unit in toString() 2012-03-06 12:55:57 +01:00
Axel Uhl 21807f2969 reduced wind averaging interval to 2*resolution + 2ms for estimation track
This fixes parts of the performance problem. Now it's about increasing concurrency again.
2012-03-06 11:09:30 +01:00
Axel Uhl 8d5b6f87a8 fixed result of TrackedRaceImpl.getStartFinishPlacemarks in case finish is close to start 2012-03-05 23:16:05 +01:00
Axel Uhl a34348b090 deal with null positions in wind averaging and confidence handling 2012-03-05 23:03:38 +01:00
Axel Uhl 4039269568 handle case where race hasn't received start of tracking or a last event yet 2012-03-05 22:58:16 +01:00
Axel Uhl 800104865b cut short endless searched on estimated wind by reducing search space to tracked time frame 2012-03-05 22:47:36 +01:00
Axel Uhl f8fe9675da respect windSourcesToExclude parameter again in getWind(...); down to about 8 errors; not terminating... 2012-03-05 21:48:40 +01:00
Axel Uhl 9e36378f2e interims commit, uncompilable, moving towards distinguishing WindSource and WindSourceType
The problem I'm trying to solve is this: there may be multiple WindSource objects for the
same WindSourceType. Example: EXPEDITION where each sensor shall produce a WindTrack of its own.
Similarly, there may be manually-entered and REST-provided WEB tracks.
2012-03-05 18:11:41 +01:00
Axel Uhl d7b4968629 Merge remote-tracking branch 'origin/master' 2012-03-05 16:14:29 +01:00
Axel Uhl 4f8b12e6f2 added column for windward distance to overall leader to leaderboard 2012-03-05 16:14:10 +01:00
Axel Uhl 27bb3b7ab5 Merge remote-tracking branch 'server/now-delay' into now-delay 2012-03-02 16:50:37 +01:00
Axel Uhl 7e1fdd6aaf avoid null points in additions to competitor charts 2012-03-02 16:50:09 +01:00
Lennart Hensler 1b07d4d1dc Merge branch 'spectator' into now-delay
Conflicts:
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/TrackedRaceImpl.java
2012-03-02 16:38:15 +01:00
Lennart Hensler f91c1e520a Improved the getStartFinishPlacemarks-Method in TrackedRaceImpl 2012-03-02 16:34:25 +01:00
Axel Uhl 61a026ff0a set entire points series because of the suspicion that addPoint doesn't do what it's supposed to 2012-03-02 16:34:09 +01:00
Lennart Hensler 35d27d4d47 Fixed NPE while getting the Placemarks in the TrackedRaceImpl 2012-03-02 14:42:24 +01:00
Lennart Hensler ce1cb828c0 Merge branch 'master' into spectator
Conflicts:
	java/com.sap.sailing.gwt.ui/Spectator.html
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
2012-03-02 08:37:53 +01:00
Axel Uhl 850705b263 the fix for bug 360 introduced a NoSuchElementException; added check for empty collection 2012-03-01 17:39:31 +01:00
Axel Uhl fa06dc510e fixed bug 360: deadlock across mark passings lock and wind estimation track lock 2012-03-01 17:26:28 +01:00
Axel Uhl 8d073b612b added a first test case for WindWithConfidence averaging 2012-03-01 11:44:46 +01:00
Axel Uhl f24deeb2e3 Introduced WindWithConfidence; use Scalable* classes instead of Pair/Triple as scalable values in interfaces;
I extracted some of the Scalable... classes into public standalone classes so I could use them in
ScalableWind. This made it obvious that these classes can easily be used instead of the more
cumbersome Pair<Double, Double> or Triple<Double, Double, Double> types for the scalable value type
argument. Subsequently this required adjustments to a few tests.
2012-03-01 10:59:48 +01:00
Axel Uhl f36a657dc2 Added synchronization for MarkPassing collections, fixing bug 342 2012-02-29 12:07:49 +01:00
Axel Uhl bebd931777 fixing bug 340 by fetching all data required while still owning the lock on the GPS fix track 2012-02-28 17:42:37 +01:00
Lennart Hensler 4edaeda023 Merge branch 'master' into spectator
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/raceboard/RaceBoardEntryPoint.java
2012-02-24 15:24:51 +01:00
Axel Uhl a13b00744d Fixed bug 330 2012-02-24 06:59:31 +01:00
Lennart Hensler 07e41db55f Deleted deprecated classes which organized the places of classes like
RaceDTO and EventDTO.
Adjusted the SailingService and the using classes of the deleted classes.
2012-02-23 13:24:56 +01:00
Axel Uhl b01922409a added dummy implementation for dummy MarkPassing impl so they have comparable competitor IDs 2012-02-22 22:14:26 +01:00
Axel Uhl a198b67773 fixing bug 325 by introducinig a specific comparator for mark passings that distinguishes competitors 2012-02-22 20:54:17 +01:00
Axel Uhl 159faebefb added synchronization to WindTrackImpl.add again since it seems not to have been at fault; added threads:
One thread per listener in the UDPReceiver. They each have a bounded queue and wait for incoming
messages with a timeout. They are stopped when the listener unsubscribes.
2012-02-21 23:07:43 +01:00
Axel Uhl cf6760fddb removing synchronization in WindTrackImpl.add for now because it seems to cause deadlocks.
Need to understand better first where the deadlock may be coming from.
2012-02-21 21:52:44 +01:00
Axel Uhl e3c74dada1 don't synchronize entire WindTrackImpl.add but only the addition to the internal wind track. 2012-02-21 21:20:58 +01:00
Axel Uhl 6ec00104fc added synchronization to WindTrackImpl.add(Wind); without it there were ConcurrentModificationExceptions; bug 314 2012-02-21 01:29:46 +01:00
Lennart Hensler b2889c8c3d Fixed bug 312 (Leaderboard group ordering messing up) 2012-02-20 11:19:16 +01:00
Axel Uhl 256bdec46e compute start tick not only when >4 boats passed the line but when >50% of the boats passed the line
Now this also works for races with less than four boats.
2012-02-20 07:22:33 +01:00