X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fdriving%2FJoystickDrive.java;fp=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fdriving%2FJoystickDrive.java;h=8e185ca2844c191ce1b1c166dcaa9161cec7dc74;hb=78b997ee01c29b502fcd2eebbf9769cb0ae5f258;hp=0000000000000000000000000000000000000000;hpb=d8c69f61302658925d597be59bbca3794bce9fd4;p=3501%2F2017steamworks diff --git a/src/org/usfirst/frc/team3501/robot/commands/driving/JoystickDrive.java b/src/org/usfirst/frc/team3501/robot/commands/driving/JoystickDrive.java new file mode 100755 index 0000000..8e185ca --- /dev/null +++ b/src/org/usfirst/frc/team3501/robot/commands/driving/JoystickDrive.java @@ -0,0 +1,42 @@ +package org.usfirst.frc.team3501.robot.commands.driving; + +import org.usfirst.frc.team3501.robot.Robot; + +import edu.wpi.first.wpilibj.command.Command; + +/** + * + */ +public class JoystickDrive extends Command { + + public JoystickDrive() { + requires(Robot.getDriveTrain()); + } + + // Called just before this Command runs the first time + @Override + protected void initialize() { + } + + // Called repeatedly when this Command is scheduled to run + @Override + protected void execute() { + } + + // Make this return true when this Command no longer needs to run execute() + @Override + protected boolean isFinished() { + return false; + } + + // Called once after isFinished returns true + @Override + protected void end() { + } + + // Called when another command which requires one or more of the same + // subsystems is scheduled to run + @Override + protected void interrupted() { + } +}