Completed
Push — master ( 0672dd...74c8db )
by John
33s
created

interrupted()   A

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.DigitalInput;
4
import edu.wpi.first.wpilibj.DriverStation;
5
6
import org.usfirst.frc.team3695.robot.OI;
7
import org.usfirst.frc.team3695.robot.Robot;
8
import org.usfirst.frc.team3695.robot.util.Util;
9
10
import edu.wpi.first.wpilibj.command.Command;
11
12
/** move the mast */
13
public class ManualCommandSpin extends Command {
14
15
    
16
    public ManualCommandSpin() {
17
        requires(Robot.SUB_MANIPULATOR);
18
    	DriverStation.reportWarning("Spin Construct", false);
19
    }
20
21
    protected void initialize() {
22
    	DriverStation.reportWarning("Spin Init", false);
23
    }
24
25
    protected void execute() {
26
    	DriverStation.reportWarning("Spin Execute", false);
27
    	Robot.SUB_MANIPULATOR.spinByJoystick(OI.OPERATOR);
28
    }
29
30
    protected boolean isFinished() {
31
        return false;
32
    }
33
34
    protected void end() {}
35
36
    protected void interrupted() {}
37
}
38