Test Failed
Push — master ( d9c046...9db1c9 )
by John
04:04 queued 01:56
created

ManualCommandHook()   A

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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