Commit Graph
100 Commits
Author SHA1 Message Date
I077899 e79843f952 The method getNewPositionOfMovedPointCurved should return a Pair of LatLng and Boolean, the latter being a flag that indicates on what edge the projection was done. 2013-04-08 19:45:44 +03:00
I077899 cdcb224d63 Improvements for computing the total time of the what-if-course. 2013-04-08 19:22:41 +03:00
I077899 09e1c43b76 I've fixed the first issue about moving the turn with only 5 pixels or so. 2013-04-05 15:37:16 +03:00
I077899 2a4d822b0e The polyline total time now updates even in free mode. 2013-04-04 13:40:09 +03:00
I077899 88468cebc6 i've removed some comments. 2013-04-04 12:09:03 +03:00
I077899 9aabb17fd3 The polyline legend info is shown last! 2013-04-03 23:11:46 +03:00
I077899 04ec4b5a74 I've removed a comment. 2013-04-03 22:58:17 +03:00
I077899 e107448564 Serialized resources for another race. 2013-04-03 22:30:50 +03:00
I077899 4c63281faf PathPolyline contains information about the name and the color of the polyline that will be shown on top of the screen. 2013-04-03 22:30:37 +03:00
I077899 a315fde366 The yellow GPS Poly does not appear anymore on top of the map widget. 2013-04-03 22:29:59 +03:00
I077899 f8b9da4197 Fixed bugs, added comments, refactored the code where needed. 2013-04-03 21:14:15 +03:00
I077899 1af3c9a83e Changed serialized resources files. 2013-04-03 21:11:21 +03:00
I077899 03016d380d Fixed a bug when the racecourse was not sent correctly sent to diferent path generators so the simulation crashed. 2013-04-03 21:10:16 +03:00
I077899 90f1bd94c4 the polyline now has a reference to the simulatorpanel. 2013-04-02 15:11:50 +03:00
I077899 ad8ef4f472 More serialized resources. 2013-04-02 14:49:06 +03:00
I077899 9b45adbd02 I've added more fixes to the polyline, and I've refactored the code a little bit in order for me to better understand what I wrote next time. 2013-04-02 14:48:42 +03:00
I077899 52d38059aa Fixed a test that was using old debug features. 2013-04-02 14:46:54 +03:00
I077899 7380cbe306 I've aded the Freemode checkbox in the GUI of the simulator. 2013-04-02 14:45:12 +03:00
I077899 5a5e413614 Got rid of some old debug code. 2013-04-02 14:44:28 +03:00
I077899 08c128bcad I've left the getAllPaths() as it was. 2013-04-01 11:52:00 +03:00
I077899 08305f35e7 I've fixed the issues from the branch-merging, and I am using the SimulatorUISelection objects. 2013-03-29 17:03:43 +02:00
I077899 7513be13eb I've added a supress warning to get rid of a warning message. 2013-03-29 17:03:11 +02:00
I077899 ce982c52fa I've fixed the issues from the branch-merging, and I am using the SimulatorUISelection objects. 2013-03-29 17:02:51 +02:00
I077899 b65b0f0a4b I've fixed the failing tests. 2013-03-29 17:01:25 +02:00
I077899 3c945a8fc5 All the path generators are now using the SimulatorUISelection objects. Also I've done some refactoring. 2013-03-29 17:00:39 +02:00
I077899 9bc61f9835 All the path generators are now using the SimulatorUISelectionDTO object. 2013-03-29 17:00:21 +02:00
I077899 9a194a18b0 All the path generators are now using the SimulatorUISelection objects. Also I've done some refactoring. 2013-03-29 16:59:38 +02:00
I077899 e129271e73 I've added missing switch cases to get rid of the warnings. 2013-03-29 16:58:26 +02:00
I077899 4ad22fbe85 New objects to handle the selection from the comboboxes in the simulator GUI. 2013-03-29 16:57:41 +02:00
I077899 f92bef4088 All of this objects are now Serializable. 2013-03-29 16:56:50 +02:00
I077899 47215b0037 I've added more serialized resources. 2013-03-29 16:55:40 +02:00
I077899 fc9e2d4539 I've modified (updated & deleted) some resources files. 2013-03-29 16:54:56 +02:00
I077899 f8483f6618 Fixed a small bug. 2013-03-27 13:32:29 +02:00
I077899 0adfb84db8 I got rid of the isTurn method from the AbstractPosition 2013-03-22 14:11:07 +02:00
I077899 012850ec68 I've removed the "scale" method :) 2013-03-22 14:05:40 +02:00
I077899 344a31ec28 I am doing a "safe check-in" - too many modified files for too long, I'm afraid of possible merging conflicts. 2013-03-21 13:44:04 +02:00
I077899 bbd4daaf15 sometimes the getWind method fails because there are no before or after points for a certain timepoint in the path... 2013-03-20 19:20:36 +02:00
I077899 7d3038119e Improved the code for adding the 1turner and the intersection points. 2013-03-14 14:01:16 +02:00
I077899 26345896ae I've commented some syso messages. 2013-03-14 14:00:20 +02:00
I077899 ba0f798a1f Little bit of cleanup. 2013-03-13 18:20:38 +02:00
I077899 8f9d17c513 The 1-turner point and the optimal intersection towards the wind are now computed corectly. 2013-03-13 18:20:13 +02:00
I077899 4e5f9421ad More serialzied resources. 2013-03-13 14:01:34 +02:00
I077899 1d1c4ef38a More serialzied resources. 2013-03-12 16:57:52 +02:00
I077899 38b7a3f0de I've increased the total time scale factor to 0.9 2013-03-08 12:56:34 +02:00
I077899 dd3d43f942 Fixed the issue when the old polyline was stuck on the map when the Update button was clicked again. 2013-03-07 18:24:08 +02:00
I077899 6214c1daa0 Fixed crashing tests, removed old ones. 2013-03-07 17:00:57 +02:00
I077899 af338f213d The even legs are upwind and the odd ones are downwind (hardcoded hack) 2013-03-07 16:35:50 +02:00
I077899 bf2ed24041 Fixed some method calls (missing params) 2013-03-07 16:34:07 +02:00
I077899 f88c8a31fe I've fixed the calls to getPath of the various Path Generators. 2013-03-07 16:33:36 +02:00
I077899 c789430e6d Added new resources files for the legs names. 2013-03-07 14:52:51 +02:00
I077899 f7d190b890 Every getPath method of any path generator now receives a selected race index, a selected competitor index and a selected leg index. 2013-03-07 13:56:53 +02:00
I077899 3ac3c1ee56 Merge remote-tracking branch 'origin/simulator_dev' into simulator_dev 2013-03-07 13:56:05 +02:00
I077899 34e17f460d I've removed unused resources. 2013-03-07 13:55:42 +02:00
I077899 77123efc79 I've removed unused resources. 2013-03-07 13:54:14 +02:00
I077899 3be90d89d8 upgraded to support the latest features (the selection of races, competitors, legs). 2013-03-06 21:08:07 +02:00
I077899 8bee8f3787 Even more serialized resources 2013-03-06 21:07:11 +02:00
I077899 c8ff1aa349 More serialized resources. 2013-03-06 21:04:13 +02:00
I077899 64fe295fb5 Upgraded to support the selection of races/competitors/legs. 2013-03-06 21:02:42 +02:00
I077899 39449add21 Upgraded to support the selection of races/competitors/legs. 2013-03-06 21:01:31 +02:00
I077899 cd0d786171 The SailingSimulator provides the races names, the competitors names, the legs names. 2013-03-06 21:01:03 +02:00
I077899 bc965f6230 getRacesNames + getCompetitorsNames + further improvements of the serialization process. 2013-03-06 21:00:18 +02:00
I077899 ddee4cd604 These DTOs now have the selected indexes of the boat classes selector, of the races selector, of the competitors selector and of the legs selector. 2013-03-06 20:59:34 +02:00
I077899 37c8548c8c getRacesNames + getCompetitorsNames. 2013-03-06 20:57:14 +02:00
I077899 11b4ffc888 More serialized resources. 2013-03-06 20:56:02 +02:00
I077899 ca04ac6e16 Added the default reaching tolerance fix, fixed the 1-turner generator. 2013-03-06 14:21:20 +02:00
I077899 edbedb21f5 At the final, the 1-turner point is computed only if the distance between first and second is bigger than the minimum distance. Also, the logger points to com.sap.sailing.simulator now. 2013-03-06 11:12:01 +02:00
I077899 6049130674 the logger points to com.sap.sailing.simulator now. 2013-03-06 11:10:58 +02:00
I077899 fccfee26a0 I've added a static variable for the treshold minimum distance for cutting out the very close turns. 2013-03-06 11:10:00 +02:00
I077899 e0f7a68cd6 I've implemented the feature of providing the legs names in the SailingSimulator plus extra serialization where necessary. 2013-03-06 11:09:06 +02:00
I077899 dea074b935 The configuration manager now offers races info data. 2013-03-06 11:05:51 +02:00
I077899 35b0fd02c5 I've added a csv file for storing the races urls and other info. 2013-03-06 11:03:03 +02:00
I077899 8ee55f5dea the simulator service can provide now the names of the races, legs and competitors. 2013-03-06 11:01:49 +02:00
I077899 0179c2c12f Further incresed the treshold degrees value. 2013-03-06 10:59:46 +02:00
I077899 8f2729b7a1 I've created a utils class for resources serialization. 2013-03-05 16:16:31 +02:00
I077899 5be2321923 I've added several serialized resource files. 2013-03-05 16:15:43 +02:00
I077899 6ebf099276 Working on leg selection, added geting the paths for a certain leg, tests, etc. 2013-02-26 14:47:57 +02:00
I077899 9076905c84 Fixed small typo. 2013-02-26 14:43:39 +02:00
I077899 5e89649e8a Fixed small typo. 2013-02-26 14:42:27 +02:00
I077899 86f37fe47e The legs names are sent correctly to the UI (still one service trip is required - trying to improve this) 2013-02-25 17:21:04 +02:00
I077899 feee9f886c Internal changes/refactoring for the methods that provide legs info. 2013-02-25 16:24:38 +02:00
I077899 6a48bae2af I've added a "scale" method to the Speed interface in order to scale the speed according to a given multiplier. 2013-02-25 14:15:28 +02:00
I077899 7c7e423ca6 Merge remote-tracking branch 'origin/simulator_dev' into simulator_dev 2013-02-20 16:30:18 +02:00
I077899 2db8561c6a now eliminating the very close turns 2013-02-20 16:22:35 +02:00
I077899 d28f31e308 Fixed a little issue 2013-02-15 00:08:50 +02:00
I077899 b972d978e4 I've added the stub for a method that returns the leg with the specified index for the first competitor for this race. 2013-02-14 15:20:01 +02:00
I077899 ad009af385 I've added a first version of the method that will provide all the legs of the first race for the first competitor (for further use in the UI selection) 2013-02-13 19:37:39 +02:00
I077899 51c65a26f4 I've added the stub for the leg dropdown list from the UI. 2013-02-13 19:03:55 +02:00
I077899 ea427e1350 I've fixed the code for computing the 1-turner. 2013-02-13 16:38:44 +02:00
I077899 242ea6d4b7 I've added the treshold distace as a static parameter. 2013-02-13 14:52:37 +02:00
I077899 4fa01a44c7 I've added the code for providing the legs names to the UI. 2013-02-13 13:59:58 +02:00
I077899 f80bc445ad I've added the code for generating the 1 turner point. 2013-02-13 13:45:57 +02:00
I077899 b1760bcb3a I've added a new DTO for sending the legs names for the UI. 2013-02-13 12:31:09 +02:00
I077899 254b939a4c I've added the test for the Leg label. 2013-02-13 12:30:01 +02:00
I077899 2cca75a5f6 Merge remote-tracking branch 'origin/simulator_dev' into simulator_dev 2013-02-12 15:02:28 +02:00
I077899 57e4071a8f I've modified the visibility of the getPathPrefix method. 2013-02-12 15:02:18 +02:00
I077899 bbd2ea6c5e I've changed the internal structure of this DTO object. 2013-02-12 15:01:35 +02:00
I077899 550618c983 I've serialized the WinfFieldGeneratorMeasured for testing scenarios. 2013-02-12 14:56:02 +02:00
I077899 54296915b4 Serialization for all of these objects. 2013-02-12 14:54:50 +02:00
I077899 fcf078e301 Final fix for the smoothness/spikes problem. 2013-02-08 21:34:45 +02:00
I077899 f683c1112c I've updated the code for the get1Turner method. 2013-02-08 12:01:30 +02:00