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