projects
/
3501
/
2017steamworks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initialize timer
[3501/2017steamworks]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
commands
/
climber
/
RunWinch.java
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/climber/RunWinch.java
b/src/org/usfirst/frc/team3501/robot/commands/climber/RunWinch.java
index 8433170746f0dd32249f5b10cbefbf08ffb0f04c..2428aff2345244364035e842c40042626d27c74d 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/commands/climber/RunWinch.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/climber/RunWinch.java
@@
-38,6
+38,7
@@
public class RunWinch extends Command {
*/
public RunWinch(double time, double motorVal) {
requires(Robot.getDriveTrain());
+ timer = new Timer();
this.time = time;
this.motorVal = motorVal;
}
@@
-61,7
+62,6
@@
public class RunWinch extends Command {
@Override
protected void end() {
Robot.getDriveTrain().stop();
-
}
@Override