Commit Graph

28 Commits

Author SHA1 Message Date
Michael Rausch d5aa430d4a Fixed a method that was converting the timestamp bytes incorrectly
- If an argument is passed to the application, it will use the internal mock server
Tags: #story[820]
2017-04-30 23:41:21 +12:00
Kusal Ekanayake d1289b0de1 Fixed boats moving in the correct heading as according to the stream and attempted to fix the wakes direction.
#story[818]
2017-04-27 18:52:37 +12:00
Kusal Ekanayake 0a22812165 Got the live ac35 data working in paralell with the parse and the app. Boats move and the live data works correctly. We need to fix the markers now
#story[818]
2017-04-27 16:18:33 +12:00
Kusal Ekanayake 104fd86179 Got the live ac35 data working in paralell with the parse and the app.
#story[820]
2017-04-27 14:40:26 +12:00
Peter a95d030817 Controllers and Fxml nicely refactored, tests still broken #story[463] 2017-03-29 14:59:37 +13:00
zyt10 d39aacba83 RaceController now uses new parsers & deleted OldApp and OldFileParser
#story[377]
2017-03-24 11:34:34 +13:00
Michael Rausch ef098e63d7 Added finishing events #implement and rotated the map by 180 degrees#fix 2017-03-22 12:51:03 +13:00
zyt10 683f4ba94e Mostly got boats going to marks on the canvas (code currently broken) #story[377] #pair[zyt10, ptg19] 2017-03-17 16:18:01 +13:00
Michael Rausch d6fe155d4d Changed distance calculation to use latitude and longitude
Tags: #fix
2017-03-17 11:08:35 +13:00
Michael Rausch 94e4e853c3 Removed Legs from the race, using coordinates instead
Tags: #implement #refactor #test #story[9]
2017-03-16 20:29:17 +13:00
Peter 550812d8e1 Currently displaying basic javafx window with canvas. Also changed the file structure a bit.
At this point the javafx is not tied to the old code in any way #story[377]
2017-03-15 18:16:43 +13:00
Michael Rausch c1aa38c1b0 Added ability to pass the config file as a command line argument
Tags: #implement
2017-03-09 12:41:44 +13:00
Michael Rausch d10c6a54f5 Added and fixed docstrings
Tags: #docs
2017-03-08 22:53:22 +13:00
Michael Rausch ae80b434f6 Added and fixed docstrings
Tags #docs
2017-03-08 22:25:52 +13:00
Haoming Yin b0cd7c8c08 Reformatted doctring and import statements 2017-03-08 14:45:06 +13:00
Michael Rausch 0efb18b04d Merge branch 'master' of https://eng-git.canterbury.ac.nz/seng302-2017/team-13 2017-03-08 14:20:38 +13:00
Haoming Yin 0ab2e7881f Fixed fileParser in order to read time scale in decimal
- json-simple can read either long or double. Updated getScaleTime to make it capable to read a decimal number.

#fix #story[5]
2017-03-08 14:13:23 +13:00
Michael Rausch 92556fffca Fixed incorrect headings and velocity display location
- Velocity is now shown in the list of starting boats #fix
- Headings have been corrected

Tags: #fix
2017-03-08 14:11:09 +13:00
Haoming Yin 2b464d16f9 Fixed some bugs
/#pair[hyi25, mra106]
2017-03-08 13:31:44 +13:00
Michael Rausch ab1445f1c2 Race events now display the boats heading and direction
- The boats velocity is being read from the config file
- The event text is now being printed when the leg starts #fix

Tags: #story[7] #implement
2017-03-08 12:31:31 +13:00
Haoming Yin 6ce9674e64 Added method to calculate distance travelled given velocity
- added getDistanceTravelled(velocity) to calculate how far a boat has travelled
- added startTime for calculating time elapse between start point and enquiry point

#story[6]
2017-03-07 00:25:10 +13:00
Haoming Yin f2c2f84b4c Updated App class to read team names
- updated app class so that it reads an array of maps containing team names
2017-03-06 22:17:38 +13:00
Michael Rausch 9b1d90d2bf Added a class for the marker, and added documentation
- Added documentation for the Race class
- Added a class for the Marker instead of just storing the name of the marker in a string

Tags: #docs #implement #story[4]
2017-03-06 19:31:25 +13:00
Michael Rausch 764aac4b7c Added method to create the race with names from the config file
- # implement
2017-03-06 12:07:21 +13:00
Michael Rausch 5492ace1a3 Display the boats competing in the race
- Moved displayStartingBoats() and displayFinishingOrder() into the Race class
- Display the competing boats when the application starts

- #implement
2017-03-04 19:13:01 +13:00
Michael Rausch 6702d24fd5 Display the order the boats finished in
- Added a function in the App class to display the order in which the boats finished the race

 #implement
2017-03-03 18:39:15 +13:00
Michael Rausch 527afdb4a9 Created boat class & tests 2017-03-03 16:22:31 +13:00
SENG302 9649f67863 initial commit 2016-03-01 19:08:07 +13:00