204 Commits (20055b188325c6a0218bb02b46d6a596c46d811d)

Author SHA1 Message Date
hba56 e53d72f24b compound marks now can give the mark they have that needs to be rounded this is used to draw the line around the correct mark
9 years ago
Connor Taylor-Brown da9915174c Merge branch 'master' into Development
9 years ago
Connor Taylor-Brown 3cf0cf2ee0 Merge branch 'master' into story63
9 years ago
Connor Taylor-Brown 638413da1a Merge remote-tracking branch 'remotes/origin/story63' into Development
9 years ago
zwu18 03713d3699 Added checkPosition into MockRace which was removed. Boat now updates legs again.
9 years ago
Connor Taylor-Brown e021dd328d Changed CompositeCommand stack to queue
9 years ago
hba56 e2605c3c7c Merge remote-tracking branch 'remotes/origin/story68' into Development
9 years ago
hba56 bb75806781 Cleaned up line to be in a shippable shape
9 years ago
fjc40 3ec87582d3 Merge remote-tracking branch 'origin/master' into story_61
9 years ago
hba56 22722286ef all paths now join up
9 years ago
zwu18 53c9192130 Merge branch 'CommandFactory' into Development
9 years ago
hba56 ef3f468b19 arrows displayed for each leg
9 years ago
cbt24 2920b6cf23 Removed build-breaking code from MockRace
9 years ago
Connor Taylor-Brown 8ee4e84236 Merge remote-tracking branch 'remotes/origin/story63' into Development
9 years ago
Connor Taylor-Brown dad4fa57c6 Fixed WindCommand not updating downwind command when moving upwind.
9 years ago
Connor Taylor-Brown 55798447ab Cherry-picked CommandFactory connection between ControllerServer and RaceLogic.
9 years ago
Connor Taylor-Brown e76de1cbf9 Added test for WindCommand
9 years ago
fjc40 634d78ab70 Added names to threads created.
9 years ago
hba56 62752c142a building blocks for drawing the race line around the course
9 years ago
hba56 747c31b948 Merge remote-tracking branch 'remotes/origin/story68' into Development
9 years ago
hba56 4195d41814 removed outdated comments
9 years ago
hba56 950a801d16 rounding fix for the xml
9 years ago
Joseph Gardner 0bf2c6106b Boat updating speed after key press has been fixed. #fix #story[1094]
9 years ago
zwu18 ddaa2623ca Added tests for TackGybeCommand class.
9 years ago
fjc40 134586f407 The message encoders and decoders now catch exceptions, and throw InvalidMessageException.
9 years ago
fjc40 9c64b678e3 Added MarkRoundingEncoder.
9 years ago
fjc40 da800e659a Added AverageWindEncoder.
9 years ago
fjc40 ce63f58429 Added RaceStartStatusEncoder.
9 years ago
fjc40 e99ad00294 Javadoc fixes.
9 years ago
fjc40 750ea5c141 Added MessageDecoder interface. All decoder implement this.
9 years ago
zwu18 a388989827 Reworked TackGybeCommand. Current boat in race will now tack and gybe when control is pressed.
9 years ago
fjc40 1fbdd09d70 Refactored BoatLocation message, encoders, decoders. It now exposes datatypes that we actually use in the program (double knots, bearings, etc..), instead of the bits-on-the-wire packed units (like int mmPerSec). Also documented it, and updated test.
9 years ago
zwu18 18f14c7542 VMGCommand now toggles autoVMG on and off. Linked up observer and observable so the current boat can now be controlled. Fixed autoVMG not working.
9 years ago
fjc40 ff262a6227 Added Knots <-> MMperSec conversions to AC35UnitConverter.
9 years ago
zwu18 dab0f2b402 Merge branch 'story63' into CommandFactory
9 years ago
zwu18 074e2e590b VMGCommand now toggles autoVMG on and off. Linked up observer and observable so the current boat can now be controlled.
9 years ago
fjc40 a0f98eadaa Added some documentation to BoatStatus.
9 years ago
zwu18 3d417c3a40 Merge branch 'story63' into CommandFactory
9 years ago
fjc40 b1922fc3fc Added RaceStatusEncoder.
9 years ago
fjc40 e464ee298e javadoc fixes for some warnings.
9 years ago
fjc40 b486f99dbe Added XMLMessageEncoder.
9 years ago
fjc40 8ef906472b Renamed Heartbeat to HeartBeat.
9 years ago
fjc40 c3ed30019c Added BoatLocationEncoder.
9 years ago
fjc40 31ce9fff94 Added BoatActonEncoder.
9 years ago
fjc40 16686678a7 Added an InvalidMessageTypeException - thrown whenever we encounter a MessageType that isn't recognised or isn't supported.
9 years ago
fjc40 7ea5b31fa1 RequestToJoinEnum contains an int instead of a byte.
9 years ago
fjc40 ca2b8a8899 Added missing javadoc.
9 years ago
fjc40 f65ed79619 Implemented RequestToJoin and JoinAcceptance messages.
9 years ago
fjc40 1385500e68 Added JoinAcceptance and RequestToJoin enumerations.
9 years ago
fjc40 7feddeb49f Merge branch 'master' into story48
9 years ago
Connor Taylor-Brown 554f8a2a0f Added WindCommand and multiple command execution to RaceLogic
9 years ago
hba56 0b74acadff rounding checks are now done by port or starboard side depending on what the compound marks type is
9 years ago
hba56 db1efab225 rounding checks are now done by port or starboard side depending on what the compound marks type is
9 years ago
hba56 be8b0e672d Updated the xml reader to pull in the rounding type of the compound marks and set each mark with that value
9 years ago
Connor Taylor-Brown 425cc7f91f Changed ControlKey to use BoatActionEnum instead of magic numbers.
9 years ago
zwu18 14ce5fcaff Made changes to TackGybeCommand and VMGCommand classes to fit pattern layout.
9 years ago
zwu18 6e699f7037 Merge branch 'RaceFactory' into CommandFactory
9 years ago
Connor Taylor-Brown 851bbb4fde Merged branch "RaceFactory" with master
9 years ago
fjc40 148108a658 CommandFactory uses BoatActionEnum instead of raw ints.
9 years ago
Connor Taylor-Brown c83442761c Implemented Factory for Command objects and fixed Command Pattern implementation.
9 years ago
Joseph Gardner 40a3ed1bb0 Boats now store whether autoVMG is on or off, boat speed scales off their bearing relative to the TWA. #story[1094]
9 years ago
hba56 f212414bd9 Added in a new basis for boats to round marks, gave mockboats a status to say how far through a rounding they are and made a method in GPScoordinate public so it can be used to calculate intersections.
9 years ago
fjc40 2e325d5177 Added WindGeneratorTest.
9 years ago
fjc40 e4999a3c93 Added a light variant of the arrow image.
9 years ago
fjc40 2a5d0938ff Merge branch 'story48' into Development
9 years ago
Connor Taylor-Brown c8621a7be5 Merge branch 'RaceFactory' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into RaceFactory
9 years ago
zwu18 d9679c1497 Build failing due to junit even though junit passes all tests. Commented out VMGCommand and TackGybeCommand content.
9 years ago
Connor Taylor-Brown 2672c2b13b Separated RaceLogic from MockRace
9 years ago
zwu18 b581b01a44 Merge branch 'RaceFactory' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into RaceFactory
9 years ago
zwu18 ad61dc6bce Implemented runCommand method in VMGCommand and TackGybeCommand classes. Both classes currently rely on the MockRace class so changes will be required when MockRace is refactored.
9 years ago
Connor Taylor-Brown 0466292bd0 Partially removed VMG optimisation, separated server-specific functionality
9 years ago
zwu18 7fc1347377 Created class TackGybeCommand which implements the CommandFactory interface.
9 years ago
fjc40 e1905e9e36 javadoc fix.
9 years ago
fjc40 9889a474ee Added ArrowController. This is the controller for arrow.fxml.
9 years ago
hba56 b7af4e19cf new method to check if a boat is between gates as well as updated the gps values to fit better with real life values
9 years ago
hba56 13922bc284 updated javadoc
9 years ago
hba56 c633de21f5 added new methods to the mock boats to let them check which side a mark is on to them
9 years ago
Joseph Gardner 27cf0e1539 Started splitting MockRace into RaceLogic and RaceState. #refactor #story[1094]
9 years ago
Joseph Gardner b258e94a54 Merged wind generator into this branch. #story[1094]
9 years ago
Joseph Gardner fba256113a Merged wind generator into this branch. #story[1094]
9 years ago
Joseph Gardner 51bbdf9a50 Merge branch 'issue_26_wind' into RaceFactory
9 years ago
fjc40 ed12ff659d mock:
9 years ago
Joseph Gardner 81eeca3533 Split wind off from Race and made it its own class. Deleted dnfChance as it is no longer used.
9 years ago
Joseph Gardner 775c32ca92 Made new branch for command architecture.
9 years ago
Joseph Gardner a87879eaa9 Made new branch for command architecture.
9 years ago
fjc40 99f3310d8b Created a setWind(bearing, knots) in Race, which updates the Wind with new values.
9 years ago
fjc40 5af3053537 Added shared.model.Wind class.
9 years ago
David Wu f2932e8bae New branch created for development.
9 years ago
fjc40 fcea323cfd The racevisionGame pom still had "profiles", which aren't needed with a single jar build, and the built jar didn't have a mainifest/main class.
9 years ago
Fan-Wu Yang 442920f9f6 DOD, and added javadocs/fixed javadocs #story[1087]
9 years ago
Jessica Syder 9eaf24e699 Fixed title screen having whitespace on different screen resolutions.
9 years ago
Jessica Syder 402df18b71 Merge remote-tracking branch 'remotes/origin/master' into css
9 years ago
fjc40 669b8167cd Merge branch 'cbt-multi-controller' of eng-git.canterbury.ac.nz:seng302-2017/team-7 into cbt-multi-controller
9 years ago
fjc40 1b5926007c Visualiser ConnectionController:
9 years ago
Joseph Gardner 67c7c88b32 Print statements now print off the actual key action. #story[1089]
9 years ago
fjc40 f91f7055de Visualiser RaceController:
9 years ago
hba56 92b8b7b77f moved the tm symbol
9 years ago
David Wu 2b8b334486 Updated host to show the hosted address and port. Fixed css issue with lobby text field.
9 years ago
hba56 f4eb03e79e Merge remote-tracking branch 'origin/css' into css
9 years ago
hba56 85347c169d You can now resize all windows other than the title screen
9 years ago