Test Failed
Pull Request — master (#66)
by John
02:06
created

org.usfirst.frc.team3695.robot.commands.ManualCommandGrow   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 6
c 0
b 0
f 0
dl 0
loc 20
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A end() 0 1 1
A isFinished() 0 2 1
A ManualCommandGrow() 0 2 1
A interrupted() 0 1 1
A execute() 0 2 1
A initialize() 0 1 1
1
package org.usfirst.frc.team3695.robot.commands;
2
3
import org.usfirst.frc.team3695.robot.OI;
4
import org.usfirst.frc.team3695.robot.Robot;
5
6
import edu.wpi.first.wpilibj.command.Command;
7
8
/** move the mast */
9
public class ManualCommandGrow extends Command {
10
	
11
    public ManualCommandGrow() {
12
        requires(Robot.SUB_MAST);
13
    }
14
15
    protected void initialize() {
16
    }
17
18
    protected void execute() {
19
    	Robot.SUB_MAST.moveBySpeed(OI.OPERATOR);
20
    }
21
22
    protected boolean isFinished() {
23
        return false;
24
    }
25
26
    protected void end() {}
27
28
    protected void interrupted() {}
29
}
30