X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fintake%2FReverseIntakeContinuous.java;h=b84a1920b9cbf90a3509c108522fb1e8a1169fb5;hp=bab630da953142a9e95034e66bec90d22e08b1cd;hb=6486f4058c2c8fad53e3a6305b18d91d76fa0e1a;hpb=2cbf20d2bf871cbc8684ef06c7d5051644e52d19 diff --git a/src/org/usfirst/frc/team3501/robot/commands/intake/ReverseIntakeContinuous.java b/src/org/usfirst/frc/team3501/robot/commands/intake/ReverseIntakeContinuous.java index bab630d..b84a192 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/intake/ReverseIntakeContinuous.java +++ b/src/org/usfirst/frc/team3501/robot/commands/intake/ReverseIntakeContinuous.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; /** @@ -9,9 +11,8 @@ import edu.wpi.first.wpilibj.command.Command; */ public class ReverseIntakeContinuous extends Command { - public ReverseIntakeContinuous(double timeToMove) { - // Use requires() here to declare subsystem dependencies - // eg. requires(chassis); + public ReverseIntakeContinuous() { + requires(Robot.getIntake()); } // Called just before this Command runs the first time