Erika Savell
f25e2bac32
Changed countdown length to two minutes
9 years ago
Erika Savell
47df6266d2
Created start race entry point in main controller so it could be called by start race controller
...
story[760]
9 years ago
Erika Savell
0772ca22c6
Re-engineered fxml controllers to use child controllers
...
- Removed a lot of unnecessary complexity in App class
#pair[jam339, esa46] #story[760]
9 years ago
Erika Savell
a689ffc689
Added quick descriptions to params to get javadoc working
9 years ago
Fan-Wu Yang
c105c2d01e
Fixed file paths so they work when it becomes an executable
...
- Changed file paths for the FXML files
9 years ago
Erika Savell
ec9574fd9d
Refactoring
...
#story[24]
9 years ago
Fan-Wu Yang
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
9 years ago
Erika Savell
bd86690e85
Filled in javadoc, optimised imports, rearranged code
...
#refactor #story[16]
9 years ago
Erika Savell
9c22fe76bd
Adjusting existing layout to prepare for creating new pane
...
- Adjusted default height and width to be a larger display
- Increased percentage space the side table takes up because the team name, mark etc were very cramped
#implement #story[16]:
9 years ago
Erika
8ae540a6b9
Switched 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]
9 years ago
Erika Savell
05c7af4abf
Implemented redrawing boat with each loop
...
- Not complete. New gps coordinate needs work around bearing -> azimuth conversion
#implement #story[9]
9 years ago
Erika Savell
1284cac68e
Importing geotools library to calculate next coordinate for boat
...
-Currently getting ClassDefNotFound error
- I think one of th elibraries dependencies is visible and compile time not runtime
#story[9] #implement
9 years ago
Erika Savell
2551dd7362
Added single test to debug race process
9 years ago
Erika Savell
dbbfece149
Fixed resources issue
9 years ago
Erika Savell
b73fee2cb5
Rewriting code to work with the transplanted loop
...
- Event has been replaced by leg, which holds the start and end coordinates, and total distance needed to pass it.
- The boats coordinates will be recalculated at each run through of the loop
- Not worrying about randomised race for now.
#refactor
9 years ago
Fan-Wu Yang
a7c64dc401
Implemented 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]
9 years ago
Fan-Wu Yang
2d777b8903
Implemented 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]
9 years ago
Connor Taylor-Brown
1a9cf5bdda
Allow 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.
9 years ago
Connor Taylor-Brown
b1f588248b
Display list of finishers after race ends.
9 years ago
Fan-Wu Yang
2db4beadcb
Boats now display knots, also the racecouse has been modified to reflect the AC35 racecourse via linear coordinates.
9 years ago
cbt24
377683ef8c
Displayed information for all boats.
9 years ago
Fan-Wu Yang
00bd194361
Added heading from each event that the boat is heading towards.
9 years ago
cbt24
7c0d9203a5
Boats pass marks at times according to boat speed and distance of mark from start.
9 years ago
Fan-Wu Yang
4f6ab7b4bc
Added simulation of a race with randomised time events. This is reported in time order and shown in the console which is displayed as "Boat passed Mark at 60 (seconds)"
9 years ago
cbt24
2148c1e06d
Added mark and gate events to race
9 years ago
Fan-Wu Yang
02cc98b0b6
Story 3 complete added all AC35 Teams into the program.
9 years ago
Connor Benjamin Alexander Taylor Brown
987dcdac01
Display order of boats per event
9 years ago
Fan-Wu Yang
21487340ab
Story 1 completion, Added Boat and Event classes. The program displays two boats New Zealand and America.
9 years ago
SENG302
9649f67863
initial commit
10 years ago