interrupted()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 1
rs 10
cc 1
1
package org.usfirst.frc.team3695.robot.commands;
2
3
import edu.wpi.first.wpilibj.command.Command;
4
import org.usfirst.frc.team3695.robot.OI;
5
import org.usfirst.frc.team3695.robot.Robot;
6
import org.usfirst.frc.team3695.robot.util.Util;
7
8
/** move the mast */
9
public class ManualCommandGrow extends Command {
10
11
    
12
    public ManualCommandGrow() {
13
        requires(Robot.SUB_MAST);
14
    }
15
16
    protected void initialize() {}
17
18
    protected void execute() {
19
    	Robot.SUB_MAST.moveBySpeed(OI.OPERATOR, Util.getAndSetDouble("Screw Inhibitor", 1));
20
    }
21
22
    protected boolean isFinished() {
23
        return false;
24
    }
25
26
    protected void end() {}
27
28
    protected void interrupted() {}
29
}
30