projects
/
3501
/
3501-spark-go
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
add hella auton
[3501/3501-spark-go]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
commands
/
MoveArmFor.java
1
package
org
.
usfirst
.
frc
.
team3501
.
robot
.
commands
;
2
3
public class
MoveArmFor
extends
CommandBase
{
4
5
private double
speed
;
6
7
public
MoveArmFor
(
double
secs
,
double
speed
) {
8
super
(
"MoveArmFor"
);
9
requires
(
arm
);
10
11
setTimeout
(
secs
);
12
this
.
speed
=
speed
;
13
}
14
15
protected void
execute
() {
16
arm
.
set
(
speed
);
17
}
18
19
protected boolean
isFinished
() {
20
return
isTimedOut
();
21
}
22
}