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