Commit Graph
342 Commits
Author SHA1 Message Date
I059829 2107a11aa2 implemented class PolarDiagramCSV and modified PolarDiagram49 to allow this
implementation. also formatting changes
2012-08-08 18:56:58 +03:00
Christopher Ronnewinkel (D036654) b860133b0d combine generic polar diagram functionality in PolarDiagramBase; let 49er and 505 inherit from Base 2012-08-08 17:35:25 +02:00
Christopher Ronnewinkel (D036654) ebeea392e2 cleanup warnings; add 505 polar diagram 2012-08-08 17:21:32 +02:00
Christopher Ronnewinkel (D036654) 053b0a264e rename to ...OpportunistEuclidian 2012-08-08 16:47:29 +02:00
Christopher Ronnewinkel (D036654) 182c3ae9b7 modularize/oo path generation code 2012-08-08 14:58:16 +02:00
Christopher Ronnewinkel (D036654) ffcff7608f extensions of path generators 2012-08-08 13:12:27 +02:00
I059829 523afc4050 Merge branch 'simulator' into simulator_merge_from_master 2012-08-03 13:08:54 +03:00
Alexandru Dimofte 49b4ed2011 implemented extendet optimumDirectionUpwind and optimumDirectionDownwind
functions for the nonconstant target direction case
2012-07-29 17:21:23 +03:00
Alexandru Dimofte bad1dbaaf1 added getTargetDirection() and setTargetDirection(); polarDiagramPlot();
csv read in PolarDiagramTest and csv write
2012-07-26 16:38:14 +03:00
fmittag c307195199 some cleanup to make the maven build work...
Also removed some warnings and logger clutter
2012-07-02 19:18:21 +02:00
Nidhi Sawhney f0c7006474 Removed reference to WEB-INF. 2012-07-02 14:03:16 +02:00
Nidhi Sawhney 6bd238fa18 com.sap.sailing.simulator does not need Servlet and WEB-INF. 2012-07-02 11:30:04 +02:00
Christopher Ronnewinkel (D036654) be8d81d298 fix dp wind speed = 0 & turnloss calculation 2012-06-27 16:54:55 +02:00
Christopher Ronnewinkel (D036654) 91e2b5e109 add 1-turners based on optimal angles; fix ordering of PathCanvasOverlays 2012-06-27 16:49:04 +02:00
Christopher Ronnewinkel (D036654) 10db8dd442 choose constant wind as default in WindControlParameters.java 2012-06-27 14:45:36 +02:00
Christopher Ronnewinkel (D036654) 8abd13d54d remove unused imports 2012-06-27 14:40:24 +02:00
Christopher Ronnewinkel (D036654) 22b3f5f7c7 ensure endpoint is in eventimed path; restrict eventimed paths to 50 steps (to avoid JavaScript performance issues) 2012-06-27 14:39:10 +02:00
Alexandru Dimofte bf344f07e0 added turn loss to the one turners 2012-06-16 12:18:55 +03:00
Alexandru Dimofte b88a3943d9 fixed a bad approximation in the one-turners that led sometimes to better
times than the heuristic or the dynamic approaches
2012-06-16 12:11:47 +03:00
Alexandru Dimofte 7b68c70103 changed the 1-turners 2012-06-16 11:13:33 +03:00
Alexandru Dimofte 8c9c7fa73b this is how this class should be
it's not a good ideea to hardcode behaviours; the time resolution should
be chosen right, rather than force-limiting the path to 50 points
2012-06-16 11:11:15 +03:00
Christopher Ronnewinkel (D036654) 5fc35cb36c ensure that endpoint of path is contained in even timed path (was taken out again) 2012-06-16 00:00:35 +02:00
Christopher Ronnewinkel (D036654) 5cb47e6a63 add dynprog algorithm from R-script prototype 2012-06-15 23:04:43 +02:00
Christopher Ronnewinkel (D036654) 4e366730bf Merge remote-tracking branch 'origin/simulator' into simulator 2012-06-15 22:27:20 +02:00
Alexandru Dimofte 9895c3b019 fixed the create one turners by using only straight direction after the
turn
2012-06-15 22:30:02 +03:00
Alexandru Dimofte 99514e36ff implemented createOneTurnLeft() and createOneTurnRight() 2012-06-15 22:16:23 +03:00
Alexandru Dimofte 39540351d0 PolarDiagram modifications - more on a conceptual level 2012-06-15 22:15:35 +03:00
Alexandru Dimofte 72cc0c841f reverted PathImpl modifications - Path not meant to be used that way 2012-06-15 22:13:54 +03:00
Christopher Ronnewinkel (D036654) 60cf96788d fix to avoid endless loop in path rescaling 2012-06-15 20:53:35 +02:00
Christopher Ronnewinkel (D036654) d1ccc11ab6 fix null pointer exceptions in polardiagram for too large or too small wind 2012-06-15 01:59:46 +02:00
Christopher Ronnewinkel (D036654) 62e4eb4f76 stability: restrict number of steps per path 2012-06-15 01:08:14 +02:00
Christopher Ronnewinkel (D036654) 19d5e33684 scale horizontal size/extension of grid 2012-06-14 23:26:03 +02:00
Christopher Ronnewinkel (D036654) b90db158fa ensure polar diagram returns approx. 0 speed between -25 and 25 degrees towards true wind 2012-06-14 23:19:39 +02:00
Christopher Ronnewinkel (D036654) f3aaa11691 fix to not put every point twice in even timed path 2012-06-14 22:36:54 +02:00
Alexandru Dimofte 7b1f54ffca Merge branch 'simulator' of ssh://git.wdf.sap.corp:29418/SAPSail/sapsailingcapture into simulator 2012-06-14 16:00:59 +03:00
Alexandru Dimofte 0291e62ab7 getTurnLoss() returns a constant value of 4000 (4 seconds) 2012-06-14 15:43:39 +03:00
Alexandru Dimofte 068bf8ac47 modified PolarDiagramImpl to comply to the changes in PolarDiagram 2012-06-14 15:37:34 +03:00
Alexandru Dimofte b5b8683d13 added getTurnLoss() and getWindSide() to PolarDiagram; to be implemented 2012-06-14 15:33:44 +03:00
d036654 7633b733d2 ensure that endpoint of path is contained in even timed paths; allow times larger then endtime returning endpoint 2012-06-14 13:56:03 +02:00
Nidhi Sawhney fe3e9167b9 Fixed PolarDiagram49 to enable multiple clients. 2012-06-14 12:37:23 +02:00
d036654 7b24a85638 Merge remote-tracking branch 'origin/simulator' into simulator 2012-06-13 16:34:23 +02:00
d036654 be4598f81d remove test printlns 2012-06-13 16:33:56 +02:00
Alexandru Dimofte 67380dd685 added method getAllPathsEvenTimed(long) that returns all generated paths
as lists of TimedPositionWithSpeed that are equally spaced over the time
of the race
2012-06-13 17:31:57 +03:00
d036654 6b4c6955d9 tweak beatScale to x1.1 as we are using ORC VPP which does not reflect sliding 2012-06-13 15:13:07 +02:00
d036654 28b683abf6 remove test code createDijkstra2() 2012-06-13 14:23:27 +02:00
d036654 9cc1e69843 merge conflicts 2012-06-13 13:49:12 +02:00
d036654 d4033cc8b6 remove log messages from grid 2012-06-13 13:44:54 +02:00
d036654 81ee2f5e56 fix in polar diagram 2012-06-13 13:43:31 +02:00
Alexandru Dimofte c37abcb039 fixed startTime bun in createDjikstra() 2012-06-13 14:27:24 +03:00
Nidhi Sawhney fdfab0c70f Merge remote-tracking branch 'origin/simulator' into simulator 2012-06-13 11:02:33 +02:00