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