projects
/
3501
/
3501-spark-go
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
big refactor of command/commandbase/commandgroup. also add auton read from file.
[3501/3501-spark-go]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
commands
/
TensionLeftWinch.java
1
package
org
.
usfirst
.
frc
.
team3501
.
robot
.
commands
;
2
3
public class
TensionLeftWinch
extends
Command
{
4
5
private double
speed
;
6
7
public
TensionLeftWinch
(
double
speed
) {
8
super
(
"TensionLeftWinch"
);
9
requires
(
arm
);
10
11
this
.
speed
=
speed
;
12
}
13
14
protected void
execute
() {
15
arm
.
moveLeft
(
speed
);
16
}
17
18
protected boolean
isFinished
() {
19
return
true
;
20
}
21
}