Conditions | 5 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | package org.usfirst.frc.team3695.robot.commands; |
||
23 | protected void initialize() { |
||
24 | switch (position) { |
||
25 | case PINION_UP: |
||
26 | Robot.SUB_MAST.adjustPinion(Position.UP); |
||
27 | break; |
||
28 | case PINION_DOWN: |
||
29 | Robot.SUB_MAST.adjustPinion(Position.DOWN); |
||
30 | break; |
||
31 | case SCREW_UP: |
||
32 | Robot.SUB_MAST.adjustScrew(Position.UP); |
||
33 | break; |
||
34 | case SCREW_DOWN: |
||
35 | Robot.SUB_MAST.adjustScrew(Position.DOWN); |
||
36 | break; |
||
37 | } |
||
38 | isFinished = true; |
||
39 | } |
||
51 |