Commit | Line | Data |
---|---|---|
f24c549d LH |
1 | package org.usfirst.frc.team3501.robot.commands; |
2 | ||
3 | public class MoveArm extends CommandBase { | |
4 | ||
5 | public MoveArm() { | |
6 | super("MoveArm"); | |
7 | requires(arm); | |
8 | } | |
9 | ||
10 | protected void execute() { | |
e81578e3 | 11 | arm.setFromJoystick(-oi.getForwardL()); |
f24c549d LH |
12 | } |
13 | ||
14 | protected boolean isFinished() { | |
15 | return false; | |
16 | } | |
17 | } |