ac558746a0Cleaning up gui
Erika Savell
2017-03-25 18:18:01 +1300
e923fe671bChanged race clock to display negative time before race
Erika Savell
2017-03-25 17:34:39 +1300
7a13885064Users can select between 1 minute, 5 minute, or non scaled races
Erika Savell
2017-03-24 18:50:19 +1300
0fde0cd9b5Created new start screen and implemented switching from start to race map
Erika Savell
2017-03-24 13:03:03 +1300
9c22fe76bdAdjusting existing layout to prepare for creating new pane
Erika Savell
2017-03-24 12:24:56 +1300
d23a80841aTests for race clock being scaled correctly added
Erika Savell
2017-03-24 11:57:54 +1300
f8147be4dfMerge remote-tracking branch 'origin/story9' into story9
David Wu
2017-03-23 18:20:25 +1300
af45be1147Implemented Animation Timer, FPS counter and modified display boat names and speed -Race now uses Animation Timer to simulate the race in Race class -FPS counter displayed in bottom left corner. TODO: Toggle fps view -Boat names and speed will now reposition so it is not blocked by the border of the canvas
David Wu
2017-03-23 18:11:13 +1300
944da81946Test that boat velocities are being scaled correctly added
Erika Savell
2017-03-23 17:37:52 +1300
4c7295998bAdded scaler variable to mulitply the race clock and the boats' velocities by
Erika Savell
2017-03-23 17:07:16 +1300
0387bdc597Tests for genreating new coordinate added
Erika Savell
2017-03-22 10:07:14 +1300
26f7b94e13Fixed finish order - Added test to check order is determined by velocity - Modified Race class to allow for unit testing
Connor Taylor-Brown
2017-03-20 20:18:32 +1300
05fe402fd0Merge remote-tracking branch 'origin/story9' into story9
cbt24
2017-03-20 17:28:22 +1300
13c5c12db3Added table column to display speed of each boat -BoatInRace now has a column to called boatSpeedColumn that displays boat
David Wu
2017-03-20 17:27:09 +1300
c8fcada427Fixed sort order for boats in race - Sort boats by leg number (preserves order when boats enter shared leg)
cbt24
2017-03-20 17:26:13 +1300
4efab9091dMerge remote-tracking branch 'origin/story9' into story9
David Wu
2017-03-20 17:12:06 +1300
293f63ca8bAdded abbreviations to each boat -BoatInRace now takes extra parameter "abbrev"
David Wu
2017-03-20 17:08:25 +1300
419fa8e9feFixed merge conflicts - Fixed Merge conflicts with boats #merge
Fan-Wu Yang
2017-03-20 16:56:43 +1300
98c5c46569Implemented displayText to display boat name and speed with mark -method takes in boat name, boat speed and coordinates
David Wu
2017-03-20 16:46:59 +1300
d97802e06cRefactored the refreshTable into propeties that listen. - Added currentLegName as a String Property - Refactored Name of the Boat as a StringProperty #story[15]
Fan-Wu Yang
2017-03-20 16:38:35 +1300
c33ce60e71Changed labels for timer -preRace countdown now has text saying "Time until race starts:" -Timer during race now says "Race clock:"
David Wu
2017-03-20 16:26:18 +1300
1842b8f0b2Merge remote-tracking branch 'origin/story9' into story9
David Wu
2017-03-20 16:22:12 +1300
946b9d0a72Implement countdown clock -Added method countdownTimer() that countdowns from the current time to an selected time -Method is called in run (in Race) before the simulatedRace -Private integer PRERACE_TIME is used to set time before the race begins
David Wu
2017-03-20 16:20:05 +1300
12a9205dedImplemented Table Refresh Function - Made refreshTable() in RaceController that refresh the boatInfoTable - Made checkPosition() in Race call controller.refreshTable() - Result is that the table now updates #story [15]
Fan-Wu Yang
2017-03-20 16:11:02 +1300
66445a91a1Loaded official AC35 competitors
Erika Savell
2017-03-20 15:47:09 +1300
e04fdc79c9Merge remote-tracking branch 'origin/story9' into story9
David Wu
2017-03-20 15:34:12 +1300
ca966e6c7bImplement race clock -Added label to fxml racepane.fxml -Added calcTime method to calculate time elapsed -Added updateTime method in Race to update label text -Added setTimer in RaceController to update label text
David Wu
2017-03-20 15:33:37 +1300
d0d4316bacBoat race finishes when all boats have crossed the line
Erika Savell
2017-03-20 15:07:20 +1300
fda1e0ed61Renaming all instances of app to team-7 and resetting pom, .idea files etc
Erika Savell
2017-03-20 14:44:13 +1300
30b844e094Renamed project to team-7
Erika Savell
2017-03-20 14:35:26 +1300
cf5de5962aLoaded the rest of the legs of the bermuda course in as an example race
Erika
2017-03-19 21:30:49 +1300
91861eb5cbRefactored BoatinRace to observable list - Changed starting Boats into ObservableList from array - stopped checkPosition in Race abstract class from updating the table as everytime as it is checked by a listener - Changed array methods .length to .size() and [i] to .get() to reflect the type change. #refactor #story[9]
Fan-Wu Yang
2017-03-19 21:21:21 +1300
192178760eBoat moves between legs and finishes - Have hard coded in first two legs -Possibly found problem with lat and longitude coordinate system being switched #story[9]
Erika
2017-03-19 14:12:28 +1300
8ae540a6b9Switched bearing calculation from formula to using the geodectic calcultor -this abstracts a lot of the complexity -more accurate heading, and it is return as an azimuth rather than bearing making lat and long calculations easier #story[9]
Erika
2017-03-19 12:58:42 +1300
05c7af4abfImplemented redrawing boat with each loop
Erika Savell
2017-03-17 18:13:48 +1300
e6e59e2df9Changed POM file to recognise project as team-7
Erika Savell
2017-03-17 15:54:01 +1300
b25389f212Implemented list of boats in order of last feature passed. - Update controller every time boats pass a mark - Cleared info table to force update #story [15]
cbt24
2017-03-17 13:29:33 +1300
15829628f2Fixed Map - Changed GPS Coordinate so that latitude and longitude were on the correct orientation - Map is now centered. #fix
Fan-Wu Yang
2017-03-17 13:10:29 +1300
1284cac68eImporting geotools library to calculate next coordinate for boat
Erika Savell
2017-03-17 13:03:27 +1300
b3b200fb02Fixed arrow not resizing with resizable canvas
David Wu
2017-03-17 12:30:22 +1300
8bb2558b7eTimer is now in race loop -Timer is currently printing out -Later will implement so that it is displayed on gui
David Wu
2017-03-17 12:06:35 +1300
3751ee2488Fixed arrow Direction, and Canvas - Canvas will not longer not fill the entire screen - Canvas will redraw when resized larger - Arrow Rotation no longer rotates the entire map. #fix
Fan-Wu Yang
2017-03-17 11:52:54 +1300
456925c4c6Implemented table view for finishing list - Added auto-numbered placing, team name, and last mark columns - Added dummy 'Finish' mark to race - Added callback for race to update controller
cbt24
2017-03-17 11:15:15 +1300
bc4701ef32Fixed Canvas not filling screen issue - Created ResizableRaceCanvas Class - Moved all draw functions to ResizableRaceCanvas #fix
Fan-Wu Yang
2017-03-17 10:30:40 +1300
d393766027Partially completed story 13
cbt24
2017-03-16 17:44:34 +1300
ddbb77a610Arrow is now movable around the canvas -Arrow method is changed to take coordinates and an angle -Arrow will now be drawn around the coordinate
David Wu
2017-03-16 17:44:24 +1300
8090108b12Began implementing function to calculate boat's new coordinates
Erika Savell
2017-03-16 16:40:34 +1300
43c84cb677Added draw ability to draw arrow on the canvas - displayArrow() function created - rotate() function created. #story [14] #pair[fwy13, zwu18]
Fan-Wu Yang
2017-03-16 16:14:28 +1300
2551dd7362Added single test to debug race process
Erika Savell
2017-03-15 22:02:13 +1300
0dc5efd830Just trying to fix my ide
Erika Savell
2017-03-15 13:49:39 +1300
ffaed5ef47Implemented Finish Line -Altered others drawing to utilise drawLine in RaceMap -Added Finish Line -Rescaled Canvas (To be fixed in the future). #story[11]
Fan-Wu Yang
2017-03-15 13:27:58 +1300
ec03ec9be9Merge remote-tracking branch 'origin/story9' into story9
David Wu
2017-03-15 12:36:43 +1300
b4baba8c15Implemented display a gate as a line -method created to add a line to canvas -added points for mark, north gate, and south gate
David Wu
2017-03-15 12:35:14 +1300
5108c0eaf5Implemented Finish Line to show - shows a dark red line with 2 thickness - shows two rectangles at the ends of each line #story [11]
Fan-Wu Yang
2017-03-15 12:33:56 +1300
6c3b7ccee7Implemented start line in RaceController - Added coordinates as given in Story 10 - Displayed start line - Marked line ends with circles #story [10]
cbt24
2017-03-15 12:33:55 +1300
6ca26d5bb1Implemented race map usage by JavaFX controller - Renamed Map to RaceMap - Fixed RaceMap.convertGPS bug - Defined canvas coordinates in terms of map GPS
cbt24
2017-03-15 12:19:41 +1300
0729ae719dImplemented Display a Boat as a circle. - created displayBoat function which will display a circle at a Coordinate. #story[9] #pair[cbt24, fwy13]
Fan-Wu Yang
2017-03-15 11:55:11 +1300
fbb3094da8Implemented GPS coordinate to screen coordinate conversion - Created Coordinate class with getters - Created Map class - Created convertGPS method in Map #story [9], #pair [cbt24,fwy13]
cbt24
2017-03-15 11:11:38 +1300
41cdf09dc2Started merging team 8 paced loop into team 7 codebase.
Erika Savell
2017-03-15 11:03:50 +1300
a7c64dc401Implemented base UI and abstract controller for parent coupling -Added Controller abstract class that all JavaFX controllers are to be a child of. -Added MainController in case in the future we need a menu. -Added mainpane.fxml as a base pane that we can mount the future menu on. -Added RaceController so where the race will be made and displayed. -Added racepane.fxml which includes a Canvas and a tableview -Added loadPane() function to the mainApp which will swap the pane the app is currently on. #story[9]
Fan-Wu Yang
2017-03-15 02:03:37 +1300
3ac93ae1e5Documentation and Refactor - Changed Race to an abstract class - Protected and privated certain variables - Wrote Javadocs for the classes and functions - Moved generate race from RandomisedRace and ConstantVelocityRace to the abstract Race class - Added string checking exception for Scanner for whether to run in 1 minute or 5 minutes #pair[fwy13, cbt24]
Fan-Wu Yang
2017-03-09 16:43:30 +1300
2d777b8903Implemented user input - Changed it from launching the program with args setting to with Scanner. - Changed field 'factor' to 'timescale' in Race class #story [5] #pair[fwy13, cbt24]
Fan-Wu Yang
2017-03-09 16:03:27 +1300
1a9cf5bddaAllow users to choose timescale of race playback. Playback is ~1 min by default, real-time selected with command line variable '-5'. Rescaled race marker positions to distances appropriate for a ~5 minute race.
Connor Taylor-Brown
2017-03-08 19:00:09 +1300
b1f588248bDisplay list of finishers after race ends.
Connor Taylor-Brown
2017-03-08 18:23:20 +1300
2db4beadcbBoats now display knots, also the racecouse has been modified to reflect the AC35 racecourse via linear coordinates.
Fan-Wu Yang
2017-03-08 16:24:51 +1300
f62c4dcb3dAdded Display of all Boats participating in the race, and a message to seperate this and the events in the console.
Fan-Wu Yang
2017-03-08 15:35:40 +1300
377683ef8cDisplayed information for all boats.
cbt24
2017-03-06 17:02:18 +1300