Commit Graph
20626 Commits
Author SHA1 Message Date
Axel Uhl 97cbda6e1e renamed angles to ...Deg when they deal with degrees 2015-01-02 17:47:50 +01:00
Axel Uhl f2bf1aa57a renamed angleToWind to trueWindAngle 2015-01-02 17:44:01 +01:00
Axel Uhl f52c7a470a renamed WindStepping to WindSpeedStepping; use double[] instead of expensive Double[] 2015-01-02 17:20:06 +01:00
Axel Uhl c7369cacd5 post-merge clean-up 2015-01-02 15:55:59 +01:00
Axel Uhl ac48ac2417 Merge branch 'master' into bug1562
Conflicts:
	java/com.sap.sailing.polars.test/src/com/sap/sailing/polars/test/PolarSheetAnalyzerTest.java
	java/com.sap.sailing.polars/src/com/sap/sailing/polars/PolarDataService.java
	java/com.sap.sailing.polars/src/com/sap/sailing/polars/analysis/PolarSheetAnalyzer.java
	java/com.sap.sailing.polars/src/com/sap/sailing/polars/analysis/impl/PolarSheetAnalyzerImpl.java
	java/com.sap.sailing.polars/src/com/sap/sailing/polars/impl/PolarDataServiceImpl.java
	java/com.sap.sailing.polars/src/com/sap/sailing/polars/mining/IncrementalRegressionProcessor.java
	java/com.sap.sailing.polars/src/com/sap/sailing/polars/mining/PolarDataMiner.java
2015-01-02 15:54:51 +01:00
Axel Uhl db19302dc8 changed windspeed parameter to windspeedInKnots 2015-01-02 13:48:55 +01:00
Frederik Petersen e3d3a1fcbd Merge branch 'master' into polar-api 2015-01-02 13:18:20 +01:00
Frederik Petersen 5214a66a76 Removed old polar cache infrastructure and cleaned polardataservice 2015-01-02 13:16:33 +01:00
Axel Uhl 0c6264dd67 avoid NPE and improved chart series handling 2015-01-02 12:16:01 +01:00
Axel Uhl aac97d4dbd added pom.xml for polars.test 2015-01-02 11:43:06 +01:00
Axel Uhl 09e9f3f1c0 added com.sap.sailing.polars.test to java/pom.xml 2015-01-02 11:34:52 +01:00
Axel Uhl 2d5f5c386a use eq(true) instead of true to satisfy Mockito requirements regarding the use of matchers 2015-01-02 11:32:38 +01:00
Axel Uhl 11b17ce1d1 avoid handling Integer[] with many object references and lots of auto-boxing in polar service; replaced by int[] 2015-01-02 11:26:39 +01:00
Axel Uhl 665d74655f whitespace/formatting and a parameter re-name 2015-01-02 10:55:28 +01:00
Axel Uhl fc25761db8 password managers now may work for the default security/ui/Login.html page which now uses a <form> tag; see bug 2561 2015-01-02 10:47:19 +01:00
Axel Uhl ec35cfddb7 fixed Javadoc typos 2015-01-02 10:02:50 +01:00
Axel Uhl faf966ffcf fixed indentation 2014-12-30 18:26:58 +01:00
Axel Uhl ac12a6f74e Javadoc and cosmetic changes only 2014-12-30 18:22:59 +01:00
Axel Uhl a02aff5502 also calculate the maneuver loss for unknown maneuvers with no wind data 2014-12-30 17:29:25 +01:00
Axel Uhl 99c171baeb working on bug 1560 by classifying all maneuvers as UNKNOWN when we have no wind information 2014-12-30 17:15:46 +01:00
Axel Uhl 553214fb7e when no course is provided, zoom to the boats once by default; this solves bug 1561 2014-12-30 17:06:26 +01:00
Axel Uhl 2d39c7f37c avoid ArrayIndexOutOfBoundsException (see bug 1561 comment #12) by checking whether there is actually a leg keeping the current SOG 2014-12-30 16:39:27 +01:00
Axel Uhl cbbec64512 Merge branch 'bug1561' 2014-12-30 16:03:34 +01:00
Axel Uhl 8c7ce7f0ee use darker water color 2014-12-30 15:59:12 +01:00
Axel Uhl b7d89983f3 fixed RGBColor error parsing three-digit colors; added test case 2014-12-30 15:31:27 +01:00
Axel Uhl 119052776f added assertion that no penalty circle maneuver has more than 700deg direction change 2014-12-30 13:42:43 +01:00
Axel Uhl 925ca24256 total course change for penalty circle needs to stop counting after first penalty circle is complete 2014-12-30 13:39:53 +01:00
Axel Uhl d77ed38e15 project onto course instead of wind for all ...Windward...(...) methods, avoiding NoWindException and producing a leaderboard without wind data 2014-12-30 12:33:39 +01:00
Axel Uhl 8ea7f4c85c handles the exception described in bug 1561 comment #8 2014-12-30 12:16:36 +01:00
Axel Uhl d315b3490b handle exception as described in bug 1561 comment #7 by returning null for cross track errors that cannot be determined without wind data 2014-12-30 12:13:00 +01:00
Axel Uhl 90ca3a8eb9 rewrote a few Callables as lambdas 2014-12-30 11:46:12 +01:00
Axel Uhl fba4716d3c added NoWindException handling in SailingServiceImpl.getBoatPositions(...); now we can see the boats move at least (no sails displayed) 2014-12-30 11:38:23 +01:00
Axel Uhl acd584d69c starting to work on bug 1561 by falling back to along-track "windward distance" when missing wind information 2014-12-30 11:09:37 +01:00
Axel Uhl 44f94e11ed compute penalty circle maneuver time point using point of greatest direction change, using computeManeuverTimePoint 2014-12-30 10:58:06 +01:00
Axel Uhl 06130f458d Javadoc improvements 2014-12-30 10:42:40 +01:00
Axel Uhl d2a7f560b0 generalized construction of map maneuver markers 2014-12-29 18:36:52 +01:00
Axel Uhl e2441a5b92 adjusted Tobias Schadewaldt's competitor name in the test case for the broken TracTrac delivery 2014-12-29 18:03:22 +01:00
Axel Uhl b011f0d511 adjusted test verdicts to the penalty maneuver time points slightly biased towards the beginning of the penalty circle 2014-12-29 17:58:57 +01:00
Axel Uhl 1b31ee4d0f implemented a recursive split for penalties and subsequent remaining tacks/jibes 2014-12-29 17:50:37 +01:00
Axel Uhl cd4cff4fbf added more test cases with other double penalty circle occasions 2014-12-29 16:59:18 +01:00
Axel Uhl 9066456d1b preparing a solution for bug 2009 by letting BearingChangeAnalyzer count the number of crossings 2014-12-29 16:40:53 +01:00
Axel Uhl d47ca3fab6 calculate total course change based on individual fixes between approximation points to check for >180deg course change;
this finds Philipp's penalty circle with -719deg total course change, meaning that both circles were grouped into
one maneuver. The next step will be to cut this into two penalty circles
2014-12-29 14:52:53 +01:00
Axel Uhl 10f8983a03 added comment for GPSFix.getSpeedAndBearingRequiredToRead 2014-12-29 13:08:03 +01:00
Axel Uhl d5e2b59ec4 refactored approximate(...) method for Douglas/Peucker points such that it returns an Iterable; adjusted callers accordingly 2014-12-29 11:55:29 +01:00
Axel Uhl f58c97afad added a failing test case for bug 2009 (Philipp Buhl's double penalty circle at Kieler Woche 2014) 2014-12-29 11:35:42 +01:00
Axel Uhl 4b61ea7d7c introduced RaceLogTrackingAdapterFactory.INSTANCE to avoid warnings due to access to unexported package 2014-12-29 11:10:57 +01:00
Axel Uhl 2faa459c4d Merge branch 'regatta-log' 2014-12-29 11:05:28 +01:00
Axel Uhl d0b8c66a52 Merge remote-tracking branch 'server/regatta-log' into regatta-log 2014-12-29 11:04:54 +01:00
Axel Uhl 365b8d6bd4 formatting and rename of getDelayedIntentsContents() 2014-12-29 11:04:33 +01:00
Fredrik Teschke 2118c8230f Revert "remove unnecessary regatta param in WindStore methods"
This reverts commit ad65a5e54b.
2014-12-24 23:49:42 +01:00