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]
2017-04-07 16:26:24 +12:00
cbt24
680c6fb991
Increased minimum opacity so actual track from start is visible.
...
- No longer removes points from track
#story[25]
2017-04-07 15:18:57 +12:00
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]
2017-04-07 14:20:20 +12:00
cbt24
4eef872a60
Decoupled drawing and adding track points, added combobox selector for visible boats.
2017-04-07 12:26:43 +12:00
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]
2017-04-06 13:19:31 +12:00
cbt24
1524ed5a0e
Merged annotation toggle and DNF features with heading visualisation.
2017-03-29 13:27:41 +13:00
cbt24
98be99a975
Merge remote-tracking branch 'origin/master'
2017-03-29 12:13:20 +13:00
cbt24
99cb4bd526
Implemented DNF with random chance in Race
...
#story [17]
2017-03-29 11:18:04 +13:00
cbt24
6fe80ad52c
Fixed speed displayed in table view
...
#story [17]
2017-03-29 10:46:18 +13:00
Connor Taylor-Brown
cfbb27513d
Fixed wake scale for realistic speeds.
...
#story[21]
2017-03-27 20:59:51 +13:00
Connor Taylor-Brown
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]
2017-03-27 20:51:20 +13:00
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]
2017-03-25 20:41:16 +13:00
Connor Taylor-Brown
26f7b94e13
Fixed finish order
...
- Added test to check order is determined by velocity
- Modified Race class to allow for unit testing
#story[15]
2017-03-20 20:18:32 +13:00
cbt24
05fe402fd0
Merge remote-tracking branch 'origin/story9' into story9
...
# Conflicts:
# src/main/java/seng302/Model/ResizableRaceCanvas.java
2017-03-20 17:28:22 +13:00
cbt24
c8fcada427
Fixed sort order for boats in race
...
- Sort boats by leg number (preserves order when boats enter shared leg)
#story [19]
2017-03-20 17:26:13 +13:00
cbt24
92c0011f80
Merge branch 'story9' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into story9
2017-03-17 13:29:53 +13:00
cbt24
b25389f212
Implemented 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]
2017-03-17 13:29:33 +13:00
cbt24
85f4117666
Merge branch 'story9' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into story13
...
# Conflicts:
# src/main/java/seng302/Controllers/RaceController.java
2017-03-17 11:43:30 +13:00
cbt24
456925c4c6
Implemented 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
#story [13]
2017-03-17 11:15:15 +13:00
cbt24
d393766027
Partially completed story 13
2017-03-16 17:44:34 +13:00
cbt24
6c3b7ccee7
Implemented start line in RaceController
...
- Added coordinates as given in Story 10
- Displayed start line
- Marked line ends with circles
#story [10]
2017-03-15 12:33:55 +13:00
cbt24
6ca26d5bb1
Implemented race map usage by JavaFX controller
...
- Renamed Map to RaceMap
- Fixed RaceMap.convertGPS bug
- Defined canvas coordinates in terms of map GPS
#story [9] #pair [cbt24,fwy13,zwu18]
2017-03-15 12:19:41 +13:00
cbt24
fbb3094da8
Implemented GPS coordinate to screen coordinate conversion
...
- Created Coordinate class with getters
- Created Map class
- Created convertGPS method in Map
#story [9], #pair [cbt24,fwy13]
2017-03-15 11:11:38 +13:00
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.
2017-03-08 19:00:09 +13:00
Connor Taylor-Brown
b1f588248b
Display list of finishers after race ends.
2017-03-08 18:23:20 +13:00
cbt24
377683ef8c
Displayed information for all boats.
2017-03-06 17:02:18 +13:00
cbt24
7c0d9203a5
Boats pass marks at times according to boat speed and distance of mark from start.
2017-03-06 16:20:20 +13:00
cbt24
2148c1e06d
Added mark and gate events to race
2017-03-03 11:46:52 +13:00
Connor Benjamin Alexander Taylor Brown
987dcdac01
Display order of boats per event
2017-03-03 11:34:34 +13:00