Joseph Gardner
332722e099
Attempt to fix sails in / out colliding issue. Going to test on dev for a better visual representation. #story[1297]
8 years ago
Connor Taylor-Brown
c94e0af69c
Removed remaining println statements
8 years ago
Joseph Gardner
2868f921e2
Only one angular command can be active at a time. Only one velocity command can be active at a time. #story[1196]
8 years ago
Joseph Gardner
df624a8437
Angular movement when auto vmg is pressed is smoothed. #story[1196]
8 years ago
Joseph Gardner
00cedf4d4d
TackGybeCommand now smooths the rotation of the boat. #story[1196]
8 years ago
Joseph
f4cb1a3ac4
Made ObserverCommands and made racestate an observable. ObserverCommands observes the race passes in the params. #story[1196]
8 years ago
fjc40
9ab12a9c58
MockBoat: Removed redundant isAutoVMG() function.
...
TackGybeCommand now disables autoVMG.
Removed print statements from VMGCommand.
8 years ago
Connor Taylor-Brown
847cd1251e
Merge remote-tracking branch 'remotes/origin/master' into CommandFactory
...
# Conflicts:
# racevisionGame/src/main/java/mock/model/commandFactory/TackGybeCommand.java
# racevisionGame/src/main/java/mock/model/commandFactory/VMGCommand.java
8 years ago
zwu18
848edfc6a4
Removed commented out code. Merged master in.
...
#story[1097]
8 years ago
zwu18
9c902dab46
Added javadoc to classes.
...
#story[1097]
8 years ago
fjc40
39b5cc2edc
MockBoat has autoVMG disabled by default.
...
Wind/Tack commands disable autoVMG. VMG command enables it.
Upwind command was turning until boat was at 0 degrees, instead of being aligned with wind direction, but that's fixed.
#story[1096]
8 years ago
zwu18
ddaa2623ca
Added tests for TackGybeCommand class.
...
#Story[1097]
8 years ago
zwu18
a388989827
Reworked TackGybeCommand. Current boat in race will now tack and gybe when control is pressed.
...
#Story[1097]
8 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.
...
#Story[1097]
8 years ago
zwu18
074e2e590b
VMGCommand now toggles autoVMG on and off. Linked up observer and observable so the current boat can now be controlled.
...
#Story[1097]
8 years ago
Connor Taylor-Brown
c83442761c
Implemented Factory for Command objects and fixed Command Pattern implementation.
...
- Commands now have standard 0-parameter execute method
- Commands are created by CommandFactory
#story[1094]
8 years ago
zwu18
d9679c1497
Build failing due to junit even though junit passes all tests. Commented out VMGCommand and TackGybeCommand content.
8 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.
...
#story[1097]
8 years ago
zwu18
7fc1347377
Created class TackGybeCommand which implements the CommandFactory interface.
...
#story[1097]
8 years ago