Joseph Gardner
eb9fce1f22
Track scales with time scale #Pair[jjg64, zwu18] #Story[758]
9 years ago
cbt24
71535be143
Merge branch 'story_25'
9 years ago
cbt24
caf1e61391
Documented methods added for track handling.
...
#story[758]
9 years ago
Joseph Gardner
b07e881edc
Merge branch 'story_25'
...
# Conflicts:
# src/main/java/seng302/Controllers/RaceController.java
# src/main/java/seng302/Model/ResizableRaceCanvas.java
# src/main/resources/scenes/racepane.fxml
9 years ago
Joseph Gardner
2945c8446e
Points now last whole race with a lower opacity #Story[25]
9 years ago
Joseph
56d51ceaa9
Track point is now removed after its expiry and fades after the boat has stopped Story [758]
9 years ago
cbt24
2d74cdc5dc
Fixed DNF position handling
...
- DNF position is now "-"
- If boat DNFs during leg, other boats' rankings are updated to remain accurate
#story[15]
9 years ago
cbt24
680c6fb991
Increased minimum opacity so actual track from start is visible.
...
- No longer removes points from track
#story[25]
9 years ago
cbt24
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]
9 years ago
Joseph Gardner
63591ad1ec
Added fixed opacity points of fading and modified race time to keep updating when the race is finished. Pair [jjg64, cbt24] Story [758]
9 years ago
cbt24
4eef872a60
Decoupled drawing and adding track points, added combobox selector for visible boats.
9 years ago
Joseph Gardner
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]
9 years ago
Erika Savell
a689ffc689
Added quick descriptions to params to get javadoc working
9 years ago
Connor Taylor-Brown
8e70dfa2d5
Fixed boat position calculation
...
- Decoupled 'place' column data from position in table
- Set position in race after first mark passed
#story[15]
9 years ago
Erika Savell
ec9574fd9d
Refactoring
...
#story[24]
9 years ago
Erika Savell
fb409af23b
Merge branch 'master' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into changeStartingPositions2
9 years ago
Fan-Wu Yang
6ffe3d02a3
Fixed and merged heading-visualisation
...
- Fixed the boats not appearing at the starting line.
- Merged with master
#story[24]
9 years ago
cbt24
1524ed5a0e
Merged annotation toggle and DNF features with heading visualisation.
9 years ago
Erika Savell
eb4c02557d
Changing xml reader to take both coordinates of a marker
...
- Have commented out tests for now because a lot of rearranging and fixing needed
#story[20]
9 years ago
Connor Taylor-Brown
cfbb27513d
Fixed wake scale for realistic speeds.
...
#story[21]
9 years ago
Erika Savell
306e98172b
Merge branch 'master' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into heading-visualisation
9 years ago
Erika Savell
bd86690e85
Filled in javadoc, optimised imports, rearranged code
...
#refactor #story[16]
9 years ago
Connor Taylor-Brown
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]
9 years ago
Erika Savell
f5ba7c95c8
Fixing merge and resulting failing tests
...
#fix #story[16]
9 years ago
Erika Savell
288324ace6
Back to string properties
...
-Listeners were not working with getting values from existing properties
#refactor #story[15]
9 years ago
Erika Savell
7e2804215b
Methods for calculating heading (instead of azimuth) added
...
- Azimuth is necessary for geodetic calculator but is between -180 and 180
- Headings need to be displayed from 0 to 360 so conversions methods were necessary
#implement #sory[24]
9 years ago
Erika Savell
71995accfb
Refactored BoatInRace currentLegName property
...
-Removed current leg name as current leg was already being stored so it was redundant
#refactor #story[15]
9 years ago
David Wu
4efab9091d
Merge remote-tracking branch 'origin/story9' into story9
...
# Conflicts:
# src/main/java/seng302/Model/Boat.java
9 years ago
David Wu
293f63ca8b
Added abbreviations to each boat
...
-BoatInRace now takes extra parameter "abbrev"
#story [18]
9 years ago
Fan-Wu Yang
419fa8e9fe
Fixed merge conflicts
...
- Fixed Merge conflicts with boats
#merge
9 years ago
Erika Savell
a9601eb760
Switched latitude/longitude around
...
We were using latitude on the x plane and longitude on the y plane
#story[9] #fix
9 years ago
Fan-Wu Yang
d97802e06c
Refactored the refreshTable into propeties that listen.
...
- Added currentLegName as a String Property
- Refactored Name of the Boat as a StringProperty
#story[15]
9 years ago
Erika Savell
66445a91a1
Loaded official AC35 competitors
...
- Competitors pulled from americascup.com
- Added to a list of boats in Constants class, and this list is read by RaceController
#story[9] #implement
9 years ago
Erika Savell
d0d4316bac
Boat race finishes when all boats have crossed the line
...
- Added a boolean flag 'finished' to BoatInRace
#implement #story[9]
9 years ago
Fan-Wu Yang
dffd77f7a7
Filled in missing documentation.
...
- Added Documentation for all Classes.
#documentation
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
2551dd7362
Added single test to debug race process
9 years ago
Erika Savell
6f509e25ea
Implementing the boats movement throught a race
...
-Not complete! Still need to create function to calculate new coordinates
-Doesn't run because of problems with resource folder
#refactor
9 years ago