9a9a08a137b25866a3eb2d330b2c48ef3bd89e5a
1 package org
.usfirst
.frc
.team3501
.robot
.commands
.driving
;
3 import org
.usfirst
.frc
.team3501
.robot
.Robot
;
5 import edu
.wpi
.first
.wpilibj
.command
.Command
;
7 public class SetGear
extends Command
{
9 requires(Robot
.getDriveTrain());
12 // Called just before this Command runs the first time
14 protected void initialize() {
17 // Called repeatedly when this Command is scheduled to run
19 protected void execute() {
22 // Make this return true when this Command no longer needs to run execute()
24 protected boolean isFinished() {
28 // Called once after isFinished returns true
30 protected void end() {
33 // Called when another command which requires one or more of the same
34 // subsystems is scheduled to run
36 protected void interrupted() {