| Total Complexity | 6 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | package org.usfirst.frc.team3695.robot.commands; |
||
| 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 |