Conditions | 5 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | package org.usfirst.frc.team3695.robot.commands; |
||
21 | protected void execute() { |
||
22 | switch (position){ |
||
23 | case PINION_UP: |
||
24 | Robot.SUB_MAST.adjustPinion(Position.UP); |
||
25 | break; |
||
26 | case PINION_DOWN: |
||
27 | Robot.SUB_MAST.adjustPinion(Position.DOWN); |
||
28 | break; |
||
29 | case SCREW_UP: |
||
30 | Robot.SUB_MAST.adjustScrew(Position.UP); |
||
31 | break; |
||
32 | case SCREW_DOWN: |
||
33 | Robot.SUB_MAST.adjustScrew(Position.DOWN); |
||
34 | break; |
||
35 | } |
||
44 |