764eb9089f
Added race data source interface to abstract sources of race data. - Refactored controllers to send data source to consumers (Race, ResizeableRaceCanvas)
Connor Taylor-Brown2017-04-19 16:53:31 +12:00
668758f6f8
Fixed boat path not being toggled when annotation is toggled.
David Wu2017-04-19 16:32:24 +12:00
8384b1a2ef
updated .xmls in the format used by AC35
hba562017-04-19 16:25:19 +12:00
b5bd1c9d6d
updated to have main methods for the server and client
hba562017-04-19 15:04:29 +12:00
43af929701
Started a new branch for the networking side of story 29, 30 -added a basic tcp server and client
hba562017-04-19 15:00:52 +12:00
2945c8446e
Points now last whole race with a lower opacity #Story[25]
Joseph Gardner2017-04-19 11:59:09 +12:00
a00b066f8d
Quick fix to zoneId to make it set correctly - removed local zoneId #story[761] #pair[fwy13, hba56]
hba562017-04-19 11:55:11 +12:00
e501102bc5
Refactored the raceClock - created a class that hosts the raceClock - refactored the raceController to use a raceClock. #story[761]
Fan-Wu Yang2017-04-19 02:45:08 +12:00
56d51ceaa9
Track point is now removed after its expiry and fades after the boat has stopped Story [758]
Joseph2017-04-18 09:07:02 +12:00
4e78ae2ae7
Fixed testing problem where race tests would sometimes fail because a boat did not finish
Erika Savell2017-04-17 15:41:23 +12:00
f25e2bac32
Changed countdown length to two minutes
Erika Savell2017-04-17 15:25:54 +12:00
2d74cdc5dc
Fixed DNF position handling - DNF position is now "-" - If boat DNFs during leg, other boats' rankings are updated to remain accurate #story[15]
cbt242017-04-07 16:26:24 +12:00
680c6fb991
Increased minimum opacity so actual track from start is visible. - No longer removes points from track #story[25]
cbt242017-04-07 15:18:57 +12:00
375202e7a0
Fades boat opacity every frame during and after race. - Added TrackPoint with time added and expiry to calculate opacity each frame - Modified drawTrackPoint to compute colour from TrackPoint alpha - Removed getTrackPoint from BoatInRace #pait[jjg64, cbt24]
cbt242017-04-07 14:20:20 +12:00
63591ad1ec
Added fixed opacity points of fading and modified race time to keep updating when the race is finished. Pair [jjg64, cbt24] Story [758]
Joseph Gardner2017-04-07 13:06:52 +12:00
4eef872a60
Decoupled drawing and adding track points, added combobox selector for visible boats.
cbt242017-04-07 12:26:43 +12:00
c31ea51068
Temporarily removed test for countdown timer as countdown timer now uses animation timer.
zwu182017-04-07 03:42:16 +12:00
57d30a7a02
Fixed countdown timer not scaling. -Countdown timer now also uses an animation timer -Added scaling factor to countdown timer
zwu182017-04-06 20:48:17 +12:00
8112918c13
Attempted to load details in, but ran into problems with the string property/vs string distinction
Erika Savell2017-04-06 17:17:06 +12:00
101dadc003
Gave BoatInRace a track property that stores the coordinates of the track. Added a method in ResizableRaceCanvas that draws the points on the track every time the canvas updates. [Story 25]
Joseph Gardner2017-04-06 17:11:24 +12:00
7790322e04
Implemented the Time showing on Grid - Added Label to scene - Added Timezone formatting #story[28] #pair[fwy13,hba56]
Fan-Wu Yang2017-04-06 16:55:43 +12:00
ee65e7eba5
Changed where the saved annotation set is declared. -Annotation set is now initialized along with annotations.
David Wu2017-04-06 16:44:22 +12:00
5c89c1aeb7
Implemented functionality to select which annotations to display. Selected annotations can be temporarily saved and then displayed on a button press. -Added checkboxes to display name, abbreviation, and speed in annotation. -Changed single titlepane to an accordion. -Moved all annotation controls to separate titlepane in accordion. -Added buttons to save and load saved annotation settings.
David Wu2017-04-06 16:37:00 +12:00
47df6266d2
Created start race entry point in main controller so it could be called by start race controller
Erika Savell2017-04-06 16:19:31 +12:00
71f0085268
Implemented geotimezone from com.github.bfsmith - Calculates timezone from mark #story[28] #pair[fwy13,hba56]
Fan-Wu Yang2017-04-06 16:11:14 +12:00
0772ca22c6
Re-engineered fxml controllers to use child controllers
Erika Savell2017-04-06 15:32:12 +12:00
a689ffc689
Added quick descriptions to params to get javadoc working
Erika Savell2017-04-06 14:31:11 +12:00
6866f65adf
Ignoring failing test to check CI is working.
Erika Savell2017-04-06 13:53:21 +12:00
94444e6662
Negligible change to check CI runner is working
Erika Savell2017-04-06 13:41:04 +12:00
8e70dfa2d5
Fixed boat position calculation - Decoupled 'place' column data from position in table - Set position in race after first mark passed
Connor Taylor-Brown2017-04-06 13:19:31 +12:00
795b411f08
Added some doc strings - Added doc strings to RaceXML - Added a few minor changes to bermuda_AC35.xml - Changes to the RaceXMLReader Unit Test
Fan-Wu Yang2017-03-31 00:51:08 +13:00
c105c2d01e
Fixed file paths so they work when it becomes an executable - Changed file paths for the FXML files
Fan-Wu Yang2017-03-31 00:00:53 +13:00
6ffe3d02a3
Fixed and merged heading-visualisation - Fixed the boats not appearing at the starting line. - Merged with master #story[24]
Fan-Wu Yang2017-03-29 16:46:23 +13:00
eb97bd6aef
Implemented resizable map and boundary scaling. - Map can now be downsized - The boundaries are auto margined and fit in the center of the canvas. #implement
Fan-Wu Yang2017-03-29 13:29:53 +13:00
1524ed5a0e
Merged annotation toggle and DNF features with heading visualisation.
cbt242017-03-29 13:27:41 +13:00
4ee6624ff6
Changed abbreviations for teams -Updated the team abbreviations to official ones -Change methods that were public to private
David Wu2017-03-29 13:14:19 +13:00
eb4c02557d
Changing xml reader to take both coordinates of a marker
Erika Savell2017-03-29 12:08:40 +13:00
b943b38d61
Merge remote-tracking branch 'origin/master'
David Wu2017-03-29 11:19:15 +13:00
99cb4bd526
Implemented DNF with random chance in Race
cbt242017-03-29 11:18:04 +13:00
d2de426f58
Fixed so the animation timer will exit when all boats finish the race -Moved listeners for annotation to initialize -Fixed compass arrow not rescaling properly with canvas -Fixed scaling issue with race clock
David Wu2017-03-29 11:16:57 +13:00
f7477adb36
Added javadoc for new methods used for annotation and fps
David Wu2017-03-29 10:15:31 +13:00
33b94cdf5b
Changed implementation for Anno(annotations) -drawRaceMap is now called for annotation to update map
David Wu2017-03-29 10:13:51 +13:00
224c16a713
Implemented Map Boundaries in XML - RaceXMLReader will calculate the top left latitude and longitude and the bottom right latitude and longitude, and make the layout the map accordingly. - The Boundaries are draw on the Race Canvas in Aqua. #story[22]
Fan-Wu Yang2017-03-29 03:18:47 +13:00
3aaee1291d
Implemented heading visualisation - Boats are represented as isosceles triangles - Boats are rotated toward heading while in race - As heading is only available in race, RaceController draws boats on start line and in race separately #story [24]
Connor Taylor-Brown2017-03-27 20:51:20 +13:00
879de9869b
Implemented XML Reader -XMLReader class for generic XML Reading Created - RaceXML Reader class made specifically for reading races - RaceController COnstants now replced with XML file #implement
Fan-Wu Yang2017-03-27 02:09:59 +13:00
176b644aaf
Created boat initialise method to run through boats setting correct start position
Erika Savell2017-03-26 18:01:38 +13:00
d15cd2b881
Wrote method to calculate spread positions across start line
Erika Savell2017-03-26 17:14:21 +13:00
24dec0bb2f
Fixed participating boats not outputting correctly -toString method in Boat class now uses getValue
David Wu2017-03-26 19:12:58 +13:00
bd072af0c4
Modified size of mark -Size of the mark changed to avoid confusion between mark and boats.
David Wu2017-03-26 18:47:44 +13:00
073bcaa4a3
Added checkbox to change visibility of annotation to GUI -Checkbox is used to toggle the text displayed beside boats -Race Clock is now scaled using the scale factor
David Wu2017-03-26 18:39:23 +13:00
0df8235a28
Added TitledPane and Checkbox to GUI. -Checkbox is used to control the visibility of the FPS counter
David Wu2017-03-26 17:40:09 +13:00
e8cd9b2ee8
Implemented wake visualisation for each boat - Added and tested wake calculation for BoatInRace - Draws boat in canvas between start and entering Finish leg - Allow boat velocity to be set after initialisation for testing #story [21]
Connor Taylor-Brown2017-03-25 20:41:16 +13:00