add DriveDistance skeleton and TurnForAngle skeleton
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / driving / JoystickDrive.java
CommitLineData
78b997ee
ME
1package org.usfirst.frc.team3501.robot.commands.driving;
2
3import org.usfirst.frc.team3501.robot.Robot;
4
5import edu.wpi.first.wpilibj.command.Command;
6
7/**
8 *
9 */
10public class JoystickDrive extends Command {
11
12 public JoystickDrive() {
13 requires(Robot.getDriveTrain());
14 }
15
16 // Called just before this Command runs the first time
17 @Override
18 protected void initialize() {
19 }
20
21 // Called repeatedly when this Command is scheduled to run
22 @Override
23 protected void execute() {
24 }
25
26 // Make this return true when this Command no longer needs to run execute()
27 @Override
28 protected boolean isFinished() {
29 return false;
30 }
31
32 // Called once after isFinished returns true
33 @Override
34 protected void end() {
35 }
36
37 // Called when another command which requires one or more of the same
38 // subsystems is scheduled to run
39 @Override
40 protected void interrupted() {
41 }
42}