projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add require method
[3501/stronghold-2016]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
commands
/
SetWinchSpeed.java
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/SetWinchSpeed.java
b/src/org/usfirst/frc/team3501/robot/commands/SetWinchSpeed.java
index ee5b9cd98432f08bbe61a075eb5a6d2ba4e884d5..c66e4000d7e137b705babe15b1345ad74ac49615 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/commands/SetWinchSpeed.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/SetWinchSpeed.java
@@
-8,6
+8,7
@@
public class SetWinchSpeed extends Command {
double winchUpSpeed;
public SetWinchSpeed(double speed) {
+ requires(Robot.scaler);
winchUpSpeed = speed;
if (winchUpSpeed > 1)
winchUpSpeed = 1;