X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fintake%2FReverseIntake.java;h=6b7caff5658dca64b68708e9a35f137ff3337cbd;hp=580b05967b147d6b9fe8b69d850267717fd83df5;hb=2cbf20d2bf871cbc8684ef06c7d5051644e52d19;hpb=7992f152f51019bc210c95cc7c0c9fd8a5eb012d diff --git a/src/org/usfirst/frc/team3501/robot/commands/intake/ReverseIntake.java b/src/org/usfirst/frc/team3501/robot/commands/intake/ReverseIntake.java index 580b059..6b7caff 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/intake/ReverseIntake.java +++ b/src/org/usfirst/frc/team3501/robot/commands/intake/ReverseIntake.java @@ -1,5 +1,7 @@ package org.usfirst.frc.team3501.robot.commands.intake; +import org.usfirst.frc.team3501.robot.Robot; + import edu.wpi.first.wpilibj.command.Command; /** @@ -10,8 +12,7 @@ import edu.wpi.first.wpilibj.command.Command; public class ReverseIntake extends Command { public ReverseIntake(double timeToMove) { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); + requires(Robot.getIntake()); } // Called just before this Command runs the first time