Commit Graph
20514 Commits
Author SHA1 Message Date
Frederik Petersen 792dcd098e Improved WindSpeedAndAngleEstimator's distance based validation
also tested it.

If the requested boat speed is not inbetween the values of the sampling
points the distance between the input speed and each sampling point is
compared and, if small enough, added to the resultset with halved
confidence
2015-01-05 14:26:25 +01:00
Frederik Petersen 5103029ea7 Added getAverageTrueWindSpeedAndAngleCandidates method to polar api
it returns a set with possible candidates and their confidence
2015-01-05 12:31:44 +01:00
Frederik Petersen dd86c7ff6e Added test case for special rare situation 2015-01-04 15:08:22 +01:00
Frederik Petersen d166a2d1c0 Added test for windspeed and angle estimation for non reversible function 2015-01-04 14:43:41 +01:00
Frederik Petersen 9f5a611aa2 Added negative test case to windspeedandangleestimator test 2015-01-04 14:39:40 +01:00
Frederik Petersen e84088066c Improved windspeedandangle estimator in polar bundle
also added first positive test cases
2015-01-04 14:33:12 +01:00
Frederik Petersen ade79b87ad Added WindSpeedAndAngleEstimator in polar bundle 2015-01-04 13:27:18 +01:00
Frederik Petersen 7b8b4e3e09 Reverted back to using boat class instead of boatclassmasterdata
the latter would lead to problems for every name that is not listed in
master data
2015-01-03 11:27:46 +01:00
Axel Uhl e2cc3301cc preparing for reverse TWA/TWS inference on PolarDataService 2015-01-03 01:57:36 +01:00
Axel Uhl 36d9ef30bd preparing for inferring the TWA/TWS from the boat speed from an AverageAngleContainer 2015-01-03 01:37:41 +01:00
Axel Uhl 0315dd5a89 fixed port/startboard confusion in PolarSheetAnalyzerImpl after refactoring 2015-01-03 01:31:28 +01:00
Axel Uhl cf6a0fdb9c fixing interval contiguousness for polar sheet analyzer 2015-01-03 01:25:41 +01:00
Axel Uhl 5f8f54ee34 working towards a PolarDataService API that enables reverse mapping of SOG to wind speed, assuming average VMG for known tack/leg type 2015-01-03 01:24:45 +01:00
Axel Uhl 5cc957075b working towards a solution for bug 1562 by starting to use the PolarDataService in ManeuverBasedWindEstimationTrackImpl 2015-01-03 00:39:53 +01:00
Axel Uhl 2b4dc55b0e require bundle org.junit instead of only package org.junit; this is needed in order to see annotation RunWith; else, NPE will result 2015-01-02 21:34:15 +01:00
Axel Uhl fddc9bcb96 Merge branch 'master' into bug1562 2015-01-02 20:24:26 +01:00
Axel Uhl fe5fbe5ca3 fixing NPEs during RegattaLogReplicationTest by setting a valid competitor in competitor registration event 2015-01-02 20:23:57 +01:00
Axel Uhl aa5eac531b use Speed in BoatSpeedEstimator interface 2015-01-02 18:15:33 +01:00
Axel Uhl 2dcdd7586d simplified DataCountAngleSumAndAverage construction 2015-01-02 18:03:50 +01:00
Axel Uhl 1fa912fbf4 simplified and accelerated implementation of AverageAngleContainer 2015-01-02 17:59:55 +01:00
Axel Uhl 0194c68686 more angle renames to reflect "degrees" unit 2015-01-02 17:50:08 +01:00
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