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
e6e59e2df9
Changed POM file to recognise project as team-7
...
-We had two project names, 'app' and 'team-7', which was causing problems with maven
#fix #story9
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
Fan-Wu Yang
43c84cb677
Added draw ability to draw arrow on the canvas
...
- displayArrow() function created
- rotate() function created.
#story [14] #pair[fwy13, zwu18]
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
54d4ea2d03
Merge remote-tracking branch 'origin/story9' into mergePacedLoop
...
# Conflicts:
# .idea/compiler.xml
# .idea/misc.xml
9 years ago
Erika Savell
0dc5efd830
Just trying to fix my ide
9 years ago
Fan-Wu Yang
0729ae719d
Implemented Display a Boat as a circle.
...
- created displayBoat function which will display a circle at a Coordinate.
#story[9] #pair[cbt24, fwy13]
9 years ago
Erika Savell
41cdf09dc2
Started merging team 8 paced loop into team 7 codebase.
...
-No running! Syntax errors and not done merging
-Just pushing so David can pull changes
#pair[zwu18, esa46]
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
3ac93ae1e5
Documentation 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]
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
Fan-Wu Yang
f62c4dcb3d
Added Display of all Boats participating in the race, and a message to seperate this and the events in the console.
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